[Webkit-unassigned] [Bug 132990] New: CSS regions: Computed margin value depends on other regions' dimension.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 16 08:44:17 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=132990
Summary: CSS regions: Computed margin value depends on other
regions' dimension.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: zalan at apple.com
CC: hyatt at apple.com
The computed left/right margin of the inner box depends on the width of the region2, while we don't even flow any content into region2. I am not sure what's the expected behavior here, but it feels odd that an "unrelated" region's (region2) dimension changes the text position in region1.
#outer {
border: 1px solid blue;
-webkit-flow-into: flow1;
}
#inner {
margin: auto;
width: 97%;
}
#region1, region2 {
-webkit-flow-from: flow1;
}
#region1 {
width: 200px;
}
#region2 {
width: 300px;
}
</style>
</head>
<body>
<div id="outer">
<div id="inner">This text should to painted on the same position.</div>
</div>
<div id="region1"></div>
<div id="region2"></div>
</body>
</html>
--
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