WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
133412
Srcset refactoring to match spec changes
https://bugs.webkit.org/show_bug.cgi?id=133412
Summary
Srcset refactoring to match spec changes
Yoav Weiss
Reported
2014-05-30 14:36:51 PDT
Srcset refactoring to match spec changes
Attachments
Patch
(60.16 KB, patch)
2014-05-30 14:42 PDT
,
Yoav Weiss
darin
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Yoav Weiss
Comment 1
2014-05-30 14:42:46 PDT
Created
attachment 232305
[details]
Patch
WebKit Commit Bot
Comment 2
2014-05-30 14:45:03 PDT
Attachment 232305
[details]
did not pass style-queue: ERROR: Source/JavaScriptCore/ChangeLog:6: Line contains tab character. [whitespace/tab] [5] ERROR: LayoutTests/ChangeLog:8: Line contains tab character. [whitespace/tab] [5] ERROR: LayoutTests/ChangeLog:9: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] Total errors found: 4 in 20 files If any of these errors are false positives, please file a bug against check-webkit-style.
Darin Adler
Comment 3
2014-05-30 20:56:24 PDT
Comment on
attachment 232305
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=232305&action=review
Patch is not compiling on Mac or Windows. I suggest breaking this patch up into two pieces. One patch can rearrange the code and refactor so it’s in a new location. The second patch should have the substantive change. It’s hard to successfully review a patch that both moves and changes code so it’s best to do the move and the change in two separate steps.
> Source/JavaScriptCore/ChangeLog:6 > + Added a PICTURE_ELEMENT compile flag.
Tabs not allowed in WebKit source files, including change log.
> Source/WebCore/ChangeLog:3 > + Srcset refactoring to match spec changes
Changing behavior is not “refactoring”, so this title is wrong.
> Source/WebCore/ChangeLog:8 > + No new tests (OOPS!).
This needs to be replaced by a line that doesn’t say “OOPS”.
> LayoutTests/fast/hidpi/image-srcset-invalid-descriptor.html:7 > -<script src="../../resources/js-test.js"></script> > +<script src="../../resources/js-test-pre.js"></script>
Why this change? It broke the test: we no longer get successfullyParsed. If we use pre.js then we also need to use post.js.
Yoav Weiss
Comment 4
2014-05-30 23:00:03 PDT
Thanks for the review! :) I'll split up the patch into 2 as suggested and correct the review comments.
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