Issue metadata
Sign in to add a comment
|
Incorrect position of vertical-rl block with border |
||||||||||||||||||||||||
Issue description<div style=" writing-mode: vertical-rl; width: 100px; height: 100px; background-color: blue; position: absolute; top: 0; left: 0; border: 20px solid red"> </div> Expected: The box is placed at top-left corner of the page. Actual: The box is placed with a horizontal offset of 2 * border-width. The test is good in Firefox.
,
Nov 22 2016
This seems like regression. On Ubuntu 1404: Version 47.0.2526.106 (64-bit): Not reproduced. Version 56.0.2917.0 (64-bit): Reproduced.
,
Nov 22 2016
I guess 47 didn't have unprefixed. Can you try with "-webkit-writing-mode"?
,
Nov 24 2016
For the following case, both webkit-writing-mode and writing-mode behave the same on 47: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <style type="text/css"> html { background: white url("support/100x100-red.png") no-repeat 8px 8px; } div#test-overlapping-green { border-left: green solid 100px; height: 100px; left: 8px; position: absolute; top: auto; webkit-writing-mode: vertical-rl; } </style> </head> <!-- <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> --> <div id="test-overlapping-green"></div> </body> </html>
,
Nov 26 2016
Re #4: You probably missed '-' before 'webkit-writing-mode' causing it to have no effect.
,
Dec 19 2016
,
Dec 19 2016
yes, after adding "-", it is reproduced on 47. Sorry for the noise <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <style type="text/css"> html { background: white url("support/100x100-red.png") no-repeat 8px 8px; } div#test-overlapping-green { border-left: green solid 100px; height: 100px; left: 8px; position: absolute; top: auto; -webkit-writing-mode: vertical-rl; } </style> </head> <!-- <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> --> <div id="test-overlapping-green"></div> </body> </html>
,
Dec 20 2016
I am a little confused by the border-left. With the following test on Firefox, no matter vertical-lr added or not, border keeps displayed at the left side. Per my understanding, once vertical, it should be displayed at the bottom(below string "This is some text in a paragraph."). So, it seems writing mode has no influence on borders? Any spec about this? Test case: Vertical LR: https://jsfiddle.net/r8scysvs/ Top-Bottom: https://jsfiddle.net/4hvq2qrn/
,
Dec 21 2016
Got answer from this:https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/BbrSf6oyHYM Case: http://jsfiddle.net/xuxing/1sdeg3d7/ Summary: border-start/end/before/after works with writing mode. boder-left/right/top/bottom has nothing to do with writing mode.
,
Dec 21 2016
,
Dec 21 2016
,
Jan 9 2017
Gérard suggested me that this is a dup of issue 505151, so I'm following his advise. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by kojii@chromium.org
, Apr 18 2016