WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
154980
Subpixel rendering: Make collapsed borders painting subpixel aware.
https://bugs.webkit.org/show_bug.cgi?id=154980
Summary
Subpixel rendering: Make collapsed borders painting subpixel aware.
zalan
Reported
2016-03-03 12:53:25 PST
Collapsed borders with odd pixel width should paint on subpixel position.
Attachments
Patch
(8.64 KB, patch)
2016-03-03 13:00 PST
,
zalan
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
zalan
Comment 1
2016-03-03 13:00:00 PST
Created
attachment 272772
[details]
Patch
Dave Hyatt
Comment 2
2016-03-03 13:42:26 PST
Comment on
attachment 272772
[details]
Patch r=me
WebKit Commit Bot
Comment 3
2016-03-03 15:55:43 PST
Comment on
attachment 272772
[details]
Patch Clearing flags on attachment: 272772 Committed
r197524
: <
http://trac.webkit.org/changeset/197524
>
WebKit Commit Bot
Comment 4
2016-03-03 15:55:47 PST
All reviewed patches have been landed. Closing bug.
Nikita Vasilyev
Comment 5
2016-03-04 21:32:06 PST
The following CSS still doesn't draw any borders. table {border-collapse: collapse} td {border: 0.5px solid red} Is it expected?
Nikita Vasilyev
Comment 6
2016-03-04 21:34:05 PST
***
Bug 150383
has been marked as a duplicate of this bug. ***
zalan
Comment 7
2016-03-04 21:34:34 PST
(In reply to
comment #5
)
> The following CSS still doesn't draw any borders. > > table {border-collapse: collapse} > td {border: 0.5px solid red} > > Is it expected?
it is still blocked on
bug 150383
. I soon have a patch to address it.
zalan
Comment 8
2016-03-04 21:45:21 PST
(In reply to
comment #5
)
> The following CSS still doesn't draw any borders. > > table {border-collapse: collapse} > td {border: 0.5px solid red} > > Is it expected?
I need to think about it a bit, but according to the spec 0.5px should be rounded off to 1px on retina displays. see
https://www.w3.org/TR/CSS2/tables.html#collapsing-borders
"Borders are centered on the grid lines between the cells. User agents must find a consistent rule for rounding off in the case of an odd number of discrete units (screen pixels, printer dots)."
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