WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
107416
text-indent behaviour differs to Moz and Opera
https://bugs.webkit.org/show_bug.cgi?id=107416
Summary
text-indent behaviour differs to Moz and Opera
Mike Lawther
Reported
2013-01-20 22:23:50 PST
With the attached test file --- <!DOCTYPE HTML> <title>intrinsic width of text-indent on blocks</title> <style> body { font-size: 10px } div { float: left; clear: left; margin: 0 0 1px 0; background: blue; color: white; height: 5px } span { display: inline-block; width: 10px } </style> <div style="text-indent: 50%"><span></span></div> ---- WebKit's behaviour differs to Moz and Opera (Moz and Opera agree). WebKit renders the div at 50% of the client width. Moz and Opera render it as 10px wide. Note: this test was reduced from a Mozilla test case for CSS3 calc() (
http://mxr.mozilla.org/mozilla-central/source/layout/reftests/w3c-css/submitted/values3/calc-text-indent-intrinsic-1.html?force=1
). Credit to David Baron for the original test.
Attachments
test file
(315 bytes, text/html)
2013-01-20 22:24 PST
,
Mike Lawther
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Mike Lawther
Comment 1
2013-01-20 22:24:20 PST
Created
attachment 183713
[details]
test file
Brent Fulgham
Comment 2
2022-07-13 13:51:54 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug