VOOZH about

URL: https://bugzilla.mozilla.org/show_bug.cgi?id=1536143

⇱ 1536143 - Text at www.realestate.co.nz overlaps


Open Bug 1536143 Opened 7 years ago Updated 3 years ago

Text at www.realestate.co.nz overlaps

Text at www.realestate.co.nz overlaps
Core
Layout
unspecified
All
All
defect
Points:
---
NEW
---
Iteration:
---
a11y-review
Accessibility Severity
Performance Impact
Size Estimate
Webcompat Priority
Webcompat Score
Tracking Status
relnote-firefox
thunderbird_esr115
thunderbird_esr140
firefox-esr115
firefox-esr140
firefox-esr153
firefox152
firefox153
firefox154
---
QA Whiteboard:
---
Has STR:
---
Change Request:
---
Bug Flags:
Signature:
None
This bug is publicly visible.

 
Attached image ExampleOfIssue.png β€” Details

STR:

This is a regression. Smallest window I could get from Mozregression: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=91fc3a79606bdc7fb43fef12eff7e65b5b84c00e&tochange=ea747bb2ffb77d1fd62b5fa6217cbee15b73d31f

Summary: Text at β†’ Text at www.realestate.co.nz overlaps

Setting layout.css.moz-document.url-prefix-hack.enabled=true fixes it. So the good thing is that this is not broken on release. The bad thing is that they're using @-moz-document to workaround some sort of interop issue:

@-moz-document url-prefix() {
.listing-details .row::before {
display:block
}
}

Whereas otherwise it has:

.row::after, .row::before {
display: table;
content: ' ';
}

Blocks: 1035091, 1449753
Attached file Reduced test-case. β€” Details

Blink shows the text to the top, Gecko to the bottom. I still haven't dug into who's right.

Attached file Testcase #2 β€” Details

Changing content: " " to content: "X" makes Chrome render it
the same as Gecko. Alternatively, adding * { vertical-align: top }
instead also makes both UAs render it the same.
So the issue seems to be a baseline-alignment difference when
content is just whitespace.

This should render the same as #3c. It does in Firefox, but not in Chrome.

Attachment #9051907 - Attachment description: Testcase 3c (further reduced) β†’ Testcase #3c (further reduced)

So, I suspect the original issue that the text is at the top
in Chrome is simply a bug in Chrome. It doesn't seem like
a reasonable result from baseline-alignment. (that they render
#3c and #3d differently is also a strong indication of a bug)

Testcase #3d shows that there's a second issue: we handle an
empty table in the first line when baseline-aligning differently.
It appears Chrome skips it and we don't. (This should probably
be spawned off a separate bug).

Severity: normal β†’ minor
Keywords: testcase
OS: Unspecified β†’ All
Priority: -- β†’ P4
Hardware: Unspecified β†’ All

Bulk moving bugs that have been triaged P4 to P5 (P4 is reserved for WPT bugs).

Priority: P4 β†’ P5
Severity: minor β†’ S4
You need to log in before you can comment on or make changes to this bug.