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

Issue 2733433002: [Win10 FRE] Make inlined-image more Polymer-friendly to fix <action-link> CSS inclusion. (Closed)

Created:
3 years, 9 months ago by huangs
Modified:
3 years, 9 months ago
Reviewers:
tmartino, tommycli
CC:
arv+watch_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Win10 FRE] Make inlined-image more Polymer-friendly to fix <action-link> CSS inclusion. Win10 FRE's did not integrate with Polymer properly, and as a result, <action-link>'s CSS was ignored. This caused .no-outline to be ineffective, so blue border appears when such a link gets clicked. This CL picks up tmartino@'s draft Polymer integration code, and fix the bug. Details: - Create <dom-module id="welcome-win10-inline">, which absorbs most of the contents of inline.css (except <body> styles). - Instantiate content <welcome-win10-inline>. - inline.js: Add Polymer({is: 'welcome-win10-inline', ...}), and adapt existing initialization code plus handlers. - Key to include action-link CSS: <dom-module> requires <style include="action-link">...</style> - Fix centering: <dom-module> (see :host) has "display: inline-flex" along colun direction with "align-item: flex-start". The <body> of the main page becomes "display: flex" for centering. BUG=697140 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2733433002 Cr-Commit-Position: refs/heads/master@{#454524} Committed: https://chromium.googlesource.com/chromium/src/+/7b228893a73bb4c1c971657adb9cd029a0d4b0ef

Patch Set 1 #

Patch Set 2 : Fix indentations for CSS and comments. #

Total comments: 5

Patch Set 3 : Remove .content; reorder Polymer 'properties' field. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -299 lines) Patch
M chrome/browser/resources/welcome/win10/inline.css View 2 chunks +1 line, -237 lines 0 comments Download
M chrome/browser/resources/welcome/win10/inline.html View 1 2 2 chunks +250 lines, -9 lines 0 comments Download
M chrome/browser/resources/welcome/win10/inline.js View 1 2 1 chunk +43 lines, -53 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
huangs
PTAL.
3 years, 9 months ago (2017-03-02 23:00:30 UTC) #3
tmartino
Are there any changes between the CSS content in inline.css (old) and the CSS content ...
3 years, 9 months ago (2017-03-02 23:06:50 UTC) #4
huangs
Did a check: The removed CSS from inline.css is injected into inline.html, except that a ...
3 years, 9 months ago (2017-03-02 23:15:49 UTC) #5
tmartino
lgtm % indentation On 2017/03/02 at 23:15:49, huangs wrote: > Did a check: The removed ...
3 years, 9 months ago (2017-03-02 23:21:37 UTC) #6
huangs
Thanks! +tommycli@ for OWNER review. PTAL.
3 years, 9 months ago (2017-03-02 23:24:55 UTC) #8
tommycli
rs lgtm other than these complaints. https://codereview.chromium.org/2733433002/diff/20001/chrome/browser/resources/welcome/win10/inline.html File chrome/browser/resources/welcome/win10/inline.html (right): https://codereview.chromium.org/2733433002/diff/20001/chrome/browser/resources/welcome/win10/inline.html#newcode268 chrome/browser/resources/welcome/win10/inline.html:268: <div class="content"> Are ...
3 years, 9 months ago (2017-03-02 23:30:54 UTC) #9
huangs
Thanks! Committing. https://codereview.chromium.org/2733433002/diff/20001/chrome/browser/resources/welcome/win10/inline.html File chrome/browser/resources/welcome/win10/inline.html (right): https://codereview.chromium.org/2733433002/diff/20001/chrome/browser/resources/welcome/win10/inline.html#newcode268 chrome/browser/resources/welcome/win10/inline.html:268: <div class="content"> Ah yes! Removed (also removed ...
3 years, 9 months ago (2017-03-02 23:57:18 UTC) #10
huangs
https://codereview.chromium.org/2733433002/diff/20001/chrome/browser/resources/welcome/win10/inline.html File chrome/browser/resources/welcome/win10/inline.html (right): https://codereview.chromium.org/2733433002/diff/20001/chrome/browser/resources/welcome/win10/inline.html#newcode44 chrome/browser/resources/welcome/win10/inline.html:44: margin: 0 auto; This "margin: 0 auto" was for ...
3 years, 9 months ago (2017-03-02 23:58:40 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2733433002/40001
3 years, 9 months ago (2017-03-02 23:59:14 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/25972)
3 years, 9 months ago (2017-03-03 01:11:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2733433002/40001
3 years, 9 months ago (2017-03-03 05:08:53 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-03 06:00:20 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/7b228893a73bb4c1c971657adb9c...

Powered by Google App Engine
This is Rietveld 408576698