[Webkit-unassigned] [Bug 109665] Stroked patterns paint even when object bounding box is empty

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 12 23:33:02 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=109665


Philip Rogers <pdr at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[Regression] Patterns do    |Stroked patterns paint even
                   |not paint if object         |when object bounding box is
                   |bounding box is empty       |empty




--- Comment #1 from Philip Rogers <pdr at google.com>  2013-02-12 23:35:15 PST ---
We partially follow the spec here. The pattern should not paint for horizontal lines:
"Keyword objectBoundingBox should not be used when the geometry of the applicable element has no width or no height, such as the case of a horizontal or vertical line, even when the line has actual thickness when viewed due to having a non-zero stroke width since stroke width is ignored for bounding box calculations. When the geometry of the applicable element has no width or height and objectBoundingBox is specified, then the given effect (e.g., a gradient or a filter) will be ignored."

We are in error when we _do_ show the pattern for horizontal lines! Something is inconsistent because reloading several times makes the pattern show up.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list