WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
67330
fix bug in flexbox test with offsetWidth/offsetLeft of 0
https://bugs.webkit.org/show_bug.cgi?id=67330
Summary
fix bug in flexbox test with offsetWidth/offsetLeft of 0
Ojan Vafai
Reported
2011-08-31 15:42:42 PDT
fix bug in flexbox test with offsetWidth/offsetLeft of 0
Attachments
Patch
(2.20 KB, patch)
2011-08-31 15:43 PDT
,
Ojan Vafai
no flags
Details
Formatted Diff
Diff
Patch
(2.01 KB, patch)
2011-08-31 15:51 PDT
,
Ojan Vafai
tony
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Ojan Vafai
Comment 1
2011-08-31 15:43:20 PDT
Created
attachment 105842
[details]
Patch
Ojan Vafai
Comment 2
2011-08-31 15:44:01 PDT
Also remove the '<br>'. That wasn't working because we insert a text node. Not worth refactoring to make it work.
Tony Chang
Comment 3
2011-08-31 15:48:57 PDT
Comment on
attachment 105842
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=105842&action=review
> LayoutTests/css3/flexbox/resources/flexbox.js:17 > + if (isDefined(node.offsetWidth) && expectedWidth) {
I think we can just drop the node.offsetWidth check. This should still work if it's undefined.
> LayoutTests/css3/flexbox/resources/flexbox.js:23 > + if (isDefined(node.offsetLeft) && expectedOffset) {
ditto
Ojan Vafai
Comment 4
2011-08-31 15:51:41 PDT
Created
attachment 105846
[details]
Patch
Ojan Vafai
Comment 5
2011-08-31 16:53:36 PDT
Committed
r94250
: <
http://trac.webkit.org/changeset/94250
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug