Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(582)

Issue 288033018: Add HTMLPictureElement-based source selection to HTMLImageElement (Closed)

Created:
6 years, 7 months ago by Yoav Weiss
Modified:
6 years, 7 months ago
Reviewers:
esprehn, eseidel
CC:
blink-reviews, dglazkov+blink, blink-reviews-html_chromium.org, cbiesinger
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Add HTMLPictureElement-based source selection to HTMLImageElement This CL adds HTMLPictureElement-based source selection algorithm to HTMLImageElement and makes sure that the right resource is picked when HTMLImageElement has an HTMLPictureElement parent. BUG=368830 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174354

Patch Set 1 #

Patch Set 2 : Fixed algo to match spec #

Patch Set 3 : Fixed algo bug and added tests #

Total comments: 9

Patch Set 4 : Review comments #

Patch Set 5 : Fix FIXME style #

Total comments: 7

Patch Set 6 : Review nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+375 lines, -12 lines) Patch
A LayoutTests/fast/dom/HTMLImageElement/image-picture-1x.html View 1 2 3 4 5 1 chunk +98 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/HTMLImageElement/image-picture-1x-expected.txt View 1 2 1 chunk +22 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/HTMLImageElement/image-picture-invalid.html View 1 2 3 4 5 1 chunk +64 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/HTMLImageElement/image-picture-invalid-expected.txt View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/HTMLImageElement/image-picture-nested.html View 1 2 3 4 5 1 chunk +70 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/HTMLImageElement/image-picture-nested-expected.txt View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M LayoutTests/fast/dom/HTMLImageElement/image-sizes-1x.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/dom/HTMLImageElement/image-sizes-2x.html View 1 chunk +1 line, -1 line 0 comments Download
D LayoutTests/fast/dom/HTMLImageElement/resources/image-set-1x.png View Binary file 0 comments Download
D LayoutTests/fast/dom/HTMLImageElement/resources/image-set-2x.png View Binary file 0 comments Download
M Source/core/html/HTMLImageElement.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/html/HTMLImageElement.cpp View 1 2 3 4 5 6 chunks +71 lines, -9 lines 0 comments Download
M Source/core/html/parser/HTMLSrcsetParser.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Yoav Weiss
6 years, 7 months ago (2014-05-16 22:26:57 UTC) #1
esprehn
It's nice if you wrap your change description at 80-100 chars. https://codereview.chromium.org/288033018/diff/40001/Source/core/html/HTMLImageElement.cpp File Source/core/html/HTMLImageElement.cpp (right): ...
6 years, 7 months ago (2014-05-16 23:31:58 UTC) #2
Yoav Weiss
On 2014/05/16 23:31:58, esprehn wrote: > It's nice if you wrap your change description at ...
6 years, 7 months ago (2014-05-17 05:36:08 UTC) #3
Yoav Weiss
On 2014/05/17 05:36:08, Yoav Weiss wrote: > On 2014/05/16 23:31:58, esprehn wrote: > > > ...
6 years, 7 months ago (2014-05-17 05:41:31 UTC) #4
Yoav Weiss
On 2014/05/17 05:36:08, Yoav Weiss wrote: > On 2014/05/16 23:31:58, esprehn wrote: > > > ...
6 years, 7 months ago (2014-05-17 05:41:31 UTC) #5
esprehn
lgtm, please fix the tests and nits before landing. You should always use a doctype. ...
6 years, 7 months ago (2014-05-20 06:54:05 UTC) #6
Yoav Weiss
On 2014/05/20 06:54:05, esprehn wrote: > lgtm, please fix the tests and nits before landing. ...
6 years, 7 months ago (2014-05-20 07:54:59 UTC) #7
Yoav Weiss
The CQ bit was checked by yoav@yoav.ws
6 years, 7 months ago (2014-05-20 08:02:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoav@yoav.ws/288033018/100001
6 years, 7 months ago (2014-05-20 08:03:10 UTC) #9
commit-bot: I haz the power
6 years, 7 months ago (2014-05-20 09:07:58 UTC) #10
Message was sent while issue was closed.
Change committed as 174354

Powered by Google App Engine
This is Rietveld 408576698