Height of the table's head with combination of writing-mode vertical-*/sideways-* and rowspan > 1.
Categories
(Core :: Layout: Tables, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: celisej567, Assigned: celisej567)
References
Details
Attachments
(2 external files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0
Steps to reproduce:
Add rowspan=2 and writing-mode=sideways-lr to the <td> and <th> tags.
Actual results:
Physical height of <td> and <th> blocks are being calculated wrongly. What i guess is happening is that it calculates it's height before applying writing-mode properly.
Expected results:
What's important is that this bug is actually a regression. In firefox 130 is does work properly. Ive tried to investigate the problem myself in source code, but seems like somewhere between 130 and 153 versions logic has changed so much that i genuenly have no idea where to look at this point.
Seems like these Bug ID's refers to the similar problem.
#1995428
#2003762
#2010144
Ive tested this behavior in here:
https://maxik34.github.io/sevenwiki/en/windows-7/files/aero.msstyles/structure/#class-globals
Comment 1•4 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Disability Access APIs' component, but is not confident enough to move the bug to that component.
Updated•3 months ago
|
Updated•3 months ago
|
The final reflow of orthogonal cell content, added in bug 1961753, used the
block-size of the cell's first row, so cells with rowspan > 1 laid out their
content too short and the rows they span didn't grow to fit it. Do that reflow
from the row group after CalculateRowBSizes instead, and keep the cell's desired
size so that it still drives the row sizing.
Updated•20 days ago
|
The reference uses the same collapsed-border table with non-orthogonal content,
so it doesn't depend on how the collapsed borders are split between the cell and
the table.
Comment 6•17 days ago
|
||
I'm landing the patch & test here, as it's a clear improvement over the existing very-broken behavior. One remaining issue is that text-align doesn't work correctly in the orthogonal row-spanned cells. See bug 1995428 for an existing report of this: the testcase there will be substantially improved by this fix, but still fails to apply center-alignment.
Comment 8•17 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/ee0382e7b087
https://hg.mozilla.org/mozilla-central/rev/88b4dd4d70df
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/65238 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Updated•6 days ago
|
Description
•