Closed Bug 1179952 Opened 9 years ago Closed 2 years ago

Baseline alignment of inline-block and inline-table when dominant baseline is central

Categories

(Core :: Layout: Block and Inline, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1812679
Tracking Status
firefox42 --- affected

People

(Reporter: bugzilla, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: testcase)

Interactive (vendor-prefixed) tests ----------------------------------- http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/vert-align-latin-baseline-inline-block-dhtml.html http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/vert-align-latin-baseline-inline-block-dhtml-2.html http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/vert-align-latin-baseline-inline-table-dhtml.html Steps to reproduce ------------------ A) 1- Load http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/vert-align-latin-baseline-inline-block-dhtml.html 2- Make sure that 'mixed' and 'baseline' radio buttons are checked B) 1- Load http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/vert-align-latin-baseline-inline-table-dhtml.html 2- Make sure that 'mixed' and 'baseline' radio buttons are checked Expected results ---------------- A) the inline-block is baseline-aligned within the line box in accordance with the baseline of its own last line box B) the inline-table is baseline-aligned within the line box in accordance with the baseline of its first row box More info --------- CSS2.1, section 10.8.1 states: " The baseline of an 'inline-table' is the baseline of the first row of the table. The baseline of an 'inline-block' is the baseline of its last line box in the normal flow, unless it has either no in-flow line boxes or if its 'overflow' property has a computed value other than 'visible', in which case the baseline is the bottom margin edge. " http://www.w3.org/TR/CSS21/visudet.html#leading http://lists.w3.org/Archives/Public/www-style/2015Jun/0116.html http://lists.w3.org/Archives/Public/www-style/2015Jun/0324.html http://lists.w3.org/Archives/Public/www-style/2015Jun/0325.html http://lists.w3.org/Archives/Public/www-style/2015Jun/0326.html http://lists.w3.org/Archives/Public/www-style/2015Jul/0007.html http://lists.w3.org/Archives/Public/www-style/2015Jul/0008.html - I am using Firefox 42.0a1 buildID=20150701030207 - I use Linux 3.13.0-55-generic x86_64, Qt: 4.8.6, KDE 4.13.3; Kubuntu (utopic) 14.04.2 LTS - I've searched for duplicates and did not find any
Blocks: writing-mode
Keywords: testcase
Thanks for the testcases -- we'll look into them. > B) > 1- Load > > http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/vert-align-latin- > baseline-inline-table-dhtml.html > > 2- Make sure that 'mixed' and 'baseline' radio buttons are checked > There's a minor error in test B, such that the radio buttons for alignment options don't work -- the JS refers to the id "inline-block", where it should be "inline-table".
Thank you, Jonathan. Fixed and uploaded now. Gérard
Additional (unprefixed) tests ----------------------------- inline-block with 'writing-mode: vertical-rl' and 'text-orientation: mixed' http://test.csswg.org/source/css-writing-modes-3/inline-block-alignment-002.xht inline-block with 'writing-mode: vertical-lr' and 'text-orientation: mixed' http://test.csswg.org/source/css-writing-modes-3/inline-block-alignment-003.xht inline-block with 'writing-mode: vertical-rl' and 'text-orientation: upright' http://test.csswg.org/source/css-writing-modes-3/inline-block-alignment-004.xht inline-block with 'writing-mode: vertical-lr' and 'text-orientation: upright' http://test.csswg.org/source/css-writing-modes-3/inline-block-alignment-005.xht Expected results for inline-block-alignment-002 and inline-block-alignment-004: http://test.csswg.org/source/css-writing-modes-3/inline-block-alignment-002-ref.xht Expected results for inline-block-alignment-003 and inline-block-alignment-005: http://test.csswg.org/source/css-writing-modes-3/inline-block-alignment-003-ref.xht
Baselines of inline-block and inline-table do not respect the last line box or the first row if 'writing-mode' is 'vertical-lr' https://bugs.chromium.org/p/chromium/issues/detail?id=664386
Baselines of inline-block and inline-table do not respect the last line box or the first row if 'writing-mode' is 'vertical-lr' https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/9761275/
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1812679
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.