[Webkit-unassigned] [Bug 124037] New: Non-zero offsetWidth of an empty element
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 8 04:00:10 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=124037
Summary: Non-zero offsetWidth of an empty element
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
URL: http://dev.ckeditor.com/ticket/11111
OS/Version: Mac OS X 10.9
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: aleksander at nowodzinski.pl
Created an attachment (id=216373)
--> (https://bugs.webkit.org/attachment.cgi?id=216373&action=review)
Sample to reproduce the issue
Since Safari 7 (OSX 10.9), empty elements seem to have a non-zero offsetWidth under certain circumstances, which
obviously is invalid and leads to other issues. For example:
// OffsetWidth of <b> is 1, why?
<p>bold1 <i><b></b>x</i></p>
// OffsetWidth of <b> is 0.
<p>bold3 <b></b></p>
It looks like a regression in browser's engine as neither previous Safari nor other browsers behave like that.
I'm attaching a simple sample to reproduce the issue.
This issue refers to http://dev.ckeditor.com/ticket/11111
--
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