[Webkit-unassigned] [Bug 199168] New: An SVG element inside a position: absolute element won't update until a layout change
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 24 11:35:30 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=199168
Bug ID: 199168
Summary: An SVG element inside a position: absolute element
won't update until a layout change
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
Assignee: webkit-unassigned at lists.webkit.org
Reporter: timdream at gmail.com
CC: zimmermann at kde.org
Created attachment 372776
--> https://bugs.webkit.org/attachment.cgi?id=372776&action=review
test.html
Summary:
A SVG element inside a position: absolute element is misplaced by text-align: center
Steps To Reproduce:
1. Load the test case
2. Observe that the position of the SVG triangle is diffferent even though the DOM+CSS state is exactly the same.
3. Trigger layout by change the window width.
4. Observe that the SVGs on case #2 and #4 is misplaced again.
Notes:
There are two bugs here.
First, svg is set to display: block in the UA sheet; setting the property to the same value shouldn’t hav any effect but apparently it does. It was also not being placed correctly — the position of a block element inside another block element shouldn’t be affected by the |text-align| property.
Second: unset the “no-op” value should restore the layout but it did not until re-layout.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190624/9d477389/attachment-0001.html>
More information about the webkit-unassigned
mailing list