[Webkit-unassigned] [Bug 192851] Space differences between GTK and Mac ports in tests
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 19 06:27:45 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=192851
--- Comment #2 from Alicia Boya GarcĂa <aboya at igalia.com> ---
That's not the issue here. In fact, after more experimentation I've found this is due to differences in how different ports (and browsers!) implement innerText with absolute positioned elements differently.
Here is a testcase:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>innerText cross-platform differences</title>
<style type="text/css" media="screen">
#box {
position: absolute;
}
</style>
</head>
<body>
Hello
<div id="box">
CSS
</div>
<script>
document.body.innerText = document.body.innerText;
</script>
</body>
</html>
WebKitGTK:
Hello CSS
WebKit iOS (Safari):
HelloCSS
Firefox:
Hello
CSS
Google Chrome:
Hello CSS
--
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/20181219/139a6aba/attachment-0001.html>
More information about the webkit-unassigned
mailing list