WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
142544
Optimize offsetWidth and offsetHeight to not necessarily do a layout
https://bugs.webkit.org/show_bug.cgi?id=142544
Summary
Optimize offsetWidth and offsetHeight to not necessarily do a layout
Dave Hyatt
Reported
2015-03-10 14:17:46 PDT
Optimize offsetWidth and offsetHeight to not necessarily do a layout.
Attachments
Patch
(7.62 KB, patch)
2015-03-10 14:27 PDT
,
Dave Hyatt
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews104 for mac-mavericks-wk2
(861.94 KB, application/zip)
2015-03-10 16:14 PDT
,
Build Bot
no flags
Details
Try this
(8.22 KB, patch)
2015-03-10 17:03 PDT
,
Dave Hyatt
no flags
Details
Formatted Diff
Diff
Patch
(9.88 KB, patch)
2015-03-11 10:17 PDT
,
Dave Hyatt
bdakin
: review+
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Dave Hyatt
Comment 1
2015-03-10 14:27:07 PDT
Created
attachment 248358
[details]
Patch
WebKit Commit Bot
Comment 2
2015-03-10 14:29:03 PDT
Attachment 248358
[details]
did not pass style-queue: ERROR: Source/WebCore/dom/Document.cpp:1952: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] ERROR: Source/WebCore/dom/Document.cpp:1952: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 2 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 3
2015-03-10 16:14:53 PDT
Comment on
attachment 248358
[details]
Patch
Attachment 248358
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/5783148558286848
New failing tests: fast/images/repaint-subrect-grid.html
Build Bot
Comment 4
2015-03-10 16:14:57 PDT
Created
attachment 248368
[details]
Archive of layout-test-results from ews104 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Dave Hyatt
Comment 5
2015-03-10 17:03:06 PDT
Created
attachment 248370
[details]
Try this
WebKit Commit Bot
Comment 6
2015-03-10 17:05:20 PDT
Attachment 248370
[details]
did not pass style-queue: ERROR: Source/WebCore/dom/Document.cpp:1952: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] ERROR: Source/WebCore/dom/Document.cpp:1952: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 2 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Dave Hyatt
Comment 7
2015-03-11 10:17:48 PDT
Created
attachment 248429
[details]
Patch
WebKit Commit Bot
Comment 8
2015-03-11 10:21:28 PDT
Attachment 248429
[details]
did not pass style-queue: ERROR: Source/WebCore/dom/Document.cpp:1952: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] ERROR: Source/WebCore/dom/Document.cpp:1952: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 2 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Dave Hyatt
Comment 9
2015-03-11 11:14:23 PDT
Landed in
r181396
.
Radar WebKit Bug Importer
Comment 10
2015-03-13 17:05:50 PDT
<
rdar://problem/20161403
>
Simon Fraser (smfr)
Comment 11
2015-03-18 18:03:43 PDT
rdar://problem/19534337
Chris Dumez
Comment 12
2015-05-11 10:51:34 PDT
Comment on
attachment 248429
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=248429&action=review
> Source/WebCore/dom/Document.cpp:1931 > + bool checkingLogicalHeight = ((dimensionsCheck & HeightDimensionsCheck) && !isVertical) || ((dimensionsCheck & WidthDimensionsCheck) && !isVertical);
Is this really correct? I would have expected the second check to use "&& isVectical" instead of "&& !isVectical".
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