WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
88043
Author Shadow DOM should be disabled in contenteditable temporarily.
https://bugs.webkit.org/show_bug.cgi?id=88043
Summary
Author Shadow DOM should be disabled in contenteditable temporarily.
Shinya Kawanaka
Reported
2012-05-31 21:33:21 PDT
When Shadow DOM is attached in contenteditable, it causes a lot of crashes while editing. To make Shadow DOM go further, we should consider disabling Author Shadow DOM temporarily. Adding User Agent Shadow DOM, which is used for <input>, <textarea>, <meter>, etc, should be OK though. Note that we should be able to enable Author Shadow DOM for debugging in DRT!
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2012-05-31 21:42:30 PDT
(In reply to
comment #0
)
> When Shadow DOM is attached in contenteditable, it causes a lot of crashes while editing.
I don't think that's an acceptable solution. We can't disable a bunch of features that don't work well inside shadow DOM arbitrarily. We need to fix editing code to work well with shadow DOM.
Shinya Kawanaka
Comment 2
2012-05-31 22:03:33 PDT
(In reply to
comment #1
)
> (In reply to
comment #0
) > > When Shadow DOM is attached in contenteditable, it causes a lot of crashes while editing. > > I don't think that's an acceptable solution. We can't disable a bunch of features that don't work well inside shadow DOM arbitrarily. We need to fix editing code to work well with shadow DOM.
I understand it, but... We're just thinking a kind of alternative plan.
Dimitri Glazkov (Google)
Comment 3
2012-06-01 09:33:26 PDT
(In reply to
comment #2
)
> (In reply to
comment #1
) > > (In reply to
comment #0
) > > > When Shadow DOM is attached in contenteditable, it causes a lot of crashes while editing. > > > > I don't think that's an acceptable solution. We can't disable a bunch of features that don't work well inside shadow DOM arbitrarily. We need to fix editing code to work well with shadow DOM. > > I understand it, but... > > We're just thinking a kind of alternative plan.
I think we should discuss this idea first. I am kind of ambivalent about what's the right thing to do here. We did this with disabling author shadows on inputs, and now we nearly trained the few peeps who experiment with shadow DOM that inputs are not usable with shadow DOM, which seems like a bad thing. On the other hand, we don't want to be crashing like drunk monkeys in ferraris. Let's put it this way: I am confident in your abilities to climb HTML editing learning curve and identify the root issues (I am sure there are only a few of those) and fix this in a reasonable timeframe :)
Ryosuke Niwa
Comment 4
2012-06-01 11:15:35 PDT
(In reply to
comment #3
)
> I think we should discuss this idea first. I am kind of ambivalent about what's the right thing to do here. We did this with disabling author shadows on inputs, and now we nearly trained the few peeps who experiment with shadow DOM that inputs are not usable with shadow DOM, which seems like a bad thing. On the other hand, we don't want to be crashing like drunk monkeys in ferraris.
Right, this is not a desirable solution if we want a good consistent API for the Web and want other browser vendors to implement it :) For example, why would Microsoft or Mozilla should disable contenteditable in their shadow DOM if their editing code was much more sound than ours?
> Let's put it this way: I am confident in your abilities to climb HTML editing learning curve and identify the root issues (I am sure there are only a few of those) and fix this in a reasonable timeframe :)
I'm more than happy to look at those crashes if you guys can send a list of crashes with stack trace & reduction.
Ryosuke Niwa
Comment 5
2012-06-21 10:33:30 PDT
Probably not.
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