Bug 265724
Summary: | [LBSE] Misleading/wrong inspector box model values for mask-object-bounding-box-shrink.html | ||
---|---|---|---|
Product: | WebKit | Reporter: | Rob Buis <rbuis> |
Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | karlcow, sabouhallawa, webkit-bug-importer, zimmermann |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Rob Buis
When inspecting mask-object-bounding-box-shrink.html the mask contents box model indicates a 0.5px x 0.5px size for it. This is either wrong, misleading or both:
- Given the mask units are objectBoundingBox, the calculated mask size should be more like 50px x 50px.
- Since the mask dimension actually depends on the clients object bounding box, and there may be multiple clients, giving absolute values feel wrong anyway.
So I think there could be two less misleading/more correct fixes for the mask content:
- Give relative values (percentages)
- don't give any dimension data at all (gecko does this).
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Karl Dubost
This is about
LayoutTests/svg/repaint/mask-object-bounding-box-shrink.html
Both Safari and Chrome returns the same computed value: 0.5px
Firefox indeed returns: 0px
Radar WebKit Bug Importer
<rdar://problem/119437588>