[text-box-trim] Trim on inline boxes removes border and padding
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
People
(Reporter: sajidanwar, Assigned: sajidanwar)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
text-box-trim can be specified on inline boxes, and the expected effect is that the content box edge is trimmed to match the selected text-box-edge. The border and padding should be unaffected.
The implementation in Firefox right now is incorrectly treating the border and padding as part of the content box bounds and is trimming that down, which completely disappears the padding and causes the border to grow "inward". See: https://codepen.io/kbhomes/pen/QwdvWXG
| Assignee | ||
Comment 1•2 months ago
|
||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
Comment 4•2 months ago
|
||
Reverted this because it was causing wpt failures in text-box-trim-inline-box-005.html.
- Revert link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | /css/css-inline/text-box-trim/text-box-trim-inline-box-005.html?class=vlr,ex | Testing http://web-platform.test:8000/css/css-inline/text-box-trim/text-box-trim-inline-box-005.html?class=vlr,ex == http://web-platform.test:8000/css/css-inline/text-box-trim/text-box-trim-inline-box-005-ref.html?class=vlr,ex
Backed out for causing wr failures at text-box-trim-inline-box-005.html
Backout link
Push with failures
Failure log(s)
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/62080 for changes under testing/web-platform/tests
Upstream PR was closed without merging
Comment 10•2 months ago
|
||
Comment 11•2 months ago
|
||
| bugherder | ||
| Assignee | ||
Updated•2 months ago
|
Upstream PR merged by moz-wptsync-bot
Updated•2 months ago
|
Description
•