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

Issue 1031543003: Remove inheritance of designMode attribute. (Closed)

Created:
5 years, 9 months ago by dcheng
Modified:
5 years, 9 months ago
Reviewers:
chrishtr, yosin_UTC9
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, eae+blinkwatch, esprehn, rwlbuis, sof, site-isolation-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Remove inheritance of designMode attribute. This matches the behavior of IE and Firefox, and conveniently removes a problematic bit of code for OOPI. BUG=444927 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192658

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address review comments, add usage counter, rebase tests, rebase to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -76 lines) Patch
D LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-subframe.html View 1 1 chunk +0 lines, -26 lines 0 comments Download
D LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-subframe-expected.txt View 1 1 chunk +0 lines, -12 lines 0 comments Download
A + LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon-subframe.html View 1 1 chunk +3 lines, -2 lines 0 comments Download
A + LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon-subframe-expected.txt View 1 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/dom/Document.h View 1 2 chunks +2 lines, -4 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 3 chunks +8 lines, -28 lines 0 comments Download
M Source/core/dom/Document.idl View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/UseCounter.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (4 generated)
dcheng
yosin@, do you mind reviewing this?
5 years, 9 months ago (2015-03-24 01:43:01 UTC) #2
dcheng
(I need to rebaseline several layout tests, but I wanted to make sure that the ...
5 years, 9 months ago (2015-03-24 01:43:27 UTC) #3
dcheng
More details: IE has the funny inherit value for the attribute, but (as far as ...
5 years, 9 months ago (2015-03-24 01:49:46 UTC) #4
dcheng
Actually I think this needs an intent, so I've sent one to the blink mailing ...
5 years, 9 months ago (2015-03-24 04:05:58 UTC) #5
yosin_UTC9
lgtm https://codereview.chromium.org/1031543003/diff/1/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1031543003/diff/1/Source/core/dom/Document.cpp#newcode4330 Source/core/dom/Document.cpp:4330: setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::DesignMode)); nit: It is better to set ...
5 years, 9 months ago (2015-03-24 05:18:38 UTC) #6
dcheng
PTAL. Also, +chrishtr@ to see if he wanted something more involved for the usage counter ...
5 years, 9 months ago (2015-03-26 01:53:14 UTC) #8
chrishtr
UseCounter LGTM. Thanks!
5 years, 9 months ago (2015-03-26 19:57:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1031543003/20001
5 years, 9 months ago (2015-03-27 03:39:01 UTC) #12
commit-bot: I haz the power
5 years, 9 months ago (2015-03-27 08:27:15 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=192658

Powered by Google App Engine
This is Rietveld 408576698