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

Issue 2788803003: MD Settings: more consistently fix error message space for search engine (Closed)

Created:
3 years, 8 months ago by scottchen
Modified:
3 years, 8 months ago
Reviewers:
Dan Beam, dpapad
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: more consistently fix error message space for search engine I found a really weird behavior - <paper-input-container> has an "@apply(--paper-input-container)" rule, which generates a "padding: var(--paper-input-container_-_padding, 8px 0)" rule when I set "padding-bottom" in the mixin from my element. However, about 3 out of 10 times, the renderer doesn't seem to recognize that "padding-bottom" is part of "padding" and behaves like, "well the 'padding' rule isn't specified so I'm gonna render the fallback '8px 0'". So I explicitly specified a "padding" rule and the intermittent bug went away. BUG=703528 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2788803003 Cr-Commit-Position: refs/heads/master@{#461502} Committed: https://chromium.googlesource.com/chromium/src/+/bc5ec856b729b019f0933b04baca929dcca60626

Patch Set 1 #

Total comments: 2

Patch Set 2 : consolidate css rules #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M chrome/browser/resources/settings/search_engines_page/search_engine_dialog.html View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 18 (9 generated)
scottchen
dbeam@ have you seen something like this (what I described in the CL description)?
3 years, 8 months ago (2017-03-31 01:13:02 UTC) #4
dpapad
https://codereview.chromium.org/2788803003/diff/1/chrome/browser/resources/settings/search_engines_page/search_engine_dialog.html File chrome/browser/resources/settings/search_engines_page/search_engine_dialog.html (right): https://codereview.chromium.org/2788803003/diff/1/chrome/browser/resources/settings/search_engines_page/search_engine_dialog.html#newcode17 chrome/browser/resources/settings/search_engines_page/search_engine_dialog.html:17: padding: 8px 0; Given the complication you discovered, would ...
3 years, 8 months ago (2017-03-31 01:22:18 UTC) #5
Dan Beam
On 2017/03/31 01:13:02, scottchen wrote: > dbeam@ have you seen something like this (what I ...
3 years, 8 months ago (2017-03-31 06:59:25 UTC) #6
scottchen
Changed it to just padding, tested 20 times refreshing the page and spacing seems consistently ...
3 years, 8 months ago (2017-03-31 20:35:33 UTC) #7
dpapad
Typo in CL description, s/erorr/error LGTM
3 years, 8 months ago (2017-03-31 21:28:23 UTC) #8
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/2788803003/20001
3 years, 8 months ago (2017-03-31 22:29:43 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/421534)
3 years, 8 months ago (2017-04-01 00:04:19 UTC) #13
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/2788803003/20001
3 years, 8 months ago (2017-04-03 17:26:42 UTC) #15
commit-bot: I haz the power
3 years, 8 months ago (2017-04-03 19:29:29 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/bc5ec856b729b019f0933b04baca...

Powered by Google App Engine
This is Rietveld 408576698