Text disappears when mouseover/mouseout description
Categories
(Core :: DOM: CSS Object Model, defect, P3)
Tracking
()
People
(Reporter: alice0775, Assigned: emilio)
References
(Depends on 1 open bug, )
Details
(Keywords: nightly-community, parity-chrome, parity-edge)
Attachments
(3 files)
Reproducible: always
Steps to reproduce:
- open url
- Mouseover description text and then mouseout
Actual Results:
The description text disappears
![]() |
Reporter | |
Comment 1•4 years ago
|
||
workaround:
@-moz-document domain("myanimelist.net") {
.js-synopsis {
width: 155px !important;
}
}
![]() |
Reporter | |
Comment 2•4 years ago
|
||
![]() |
Reporter | |
Comment 3•4 years ago
|
||
let elm = document.querySelector(".scroll");
let DOMRectWidth = elm.getBoundingClientRect().width;
let computedStyleWidth = window.getComputedStyle(elm).width;
alert(DOMRectWidth == parseInt(computedStyleWidth));
Firefox returns true.
Chrome and Edge returns false.
![]() |
Reporter | |
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
Thanks for filing this and for the reduced test-case Alice!
Assignee | ||
Comment 5•4 years ago
|
||
Calling this P3 since it's longstanding behavior and this is the only interop issue we know about here, but I still want to take a look at this.
Assignee | ||
Comment 6•4 years ago
|
||
See the note in the test about the .tentative.html bit. I really thing Gecko
behavior is sane here.
I filed https://bugs.chromium.org/p/chromium/issues/detail?id=973171 about this,
and told the Blink folks to file a csswg-drafts issue if they disagreed.
Assignee | ||
Comment 7•4 years ago
|
||
Sorry for the lag here. I think this is an issue with Chrome / Edge, and that our behavior is reasonable.
So I think this should be invalid, and I'll land a test.
I filed https://bugs.chromium.org/p/chromium/issues/detail?id=973171, but if they disagree we should discuss in the CSS WG and figure out where to go from here.
Assignee | ||
Updated•4 years ago
|
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d92e38d89823 Add a WPT test to ensure that getComputedStyle() round-trips when scrollbars are present. r=bzbarsky
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/17329 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Comment 11•4 years ago
|
||
bugherder |
Upstream PR merged
Comment 13•4 years ago
|
||
Based on comment 7, I'm calling this invalid. Feel free to reopen the bug if the spec discussion ends up changing that viewpoint.
Comment 14•4 years ago
|
||
I know this was marked invalid but it actually got fixed by something and the testcase and original website that experienced the issue now works.
Assignee | ||
Comment 15•4 years ago
|
||
It seems like the website has been fixed, probably. The reduced test-case still fails. Note that this is not an issue on Mac, since scrollbars don't take layout space there.
Description
•