Closed
Bug 1024428
Opened 10 years ago
Closed 10 years ago
[WebComponents] Browser crashes when <input type="range" /> in shadow-dom
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
VERIFIED
FIXED
mozilla34
People
(Reporter: wilsonpage, Assigned: smaug)
References
Details
(Whiteboard: [2.1-feature-qa+])
Attachments
(3 files)
(deleted),
text/html
|
Details | |
(deleted),
patch
|
wchen
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review |
EXAMPLE
http://jsbin.com/hutas/2/quiet
WFM. Needs a crash report.
Keywords: stackwanted
Assignee | ||
Comment 2•10 years ago
|
||
Couldn't reproduce on linux, but testing a debug build in a minute.
Reporter | ||
Comment 3•10 years ago
|
||
This is on Mac Nightly.
(In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #1)
> WFM. Needs a crash report.
Where do I get a crash report from?
Assignee | ||
Comment 4•10 years ago
|
||
Couldn't reproduce with a debug build either, and no assertions or warnings either.
For a crash report - you should get one when Nightly crashes, and
about:crashes has the id for it.
Reporter | ||
Comment 5•10 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #4)
> Couldn't reproduce with a debug build either, and no assertions or warnings
> either.
>
>
> For a crash report - you should get one when Nightly crashes, and
> about:crashes has the id for it.
Here's the crash-report: https://crash-stats.mozilla.com/report/index/a6967bbe-a9a1-4d87-ad1d-08db12140612
Assignee | ||
Comment 6•10 years ago
|
||
Oh, the testcase looks wrong. It has type="text"
Assignee | ||
Comment 7•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Keywords: stackwanted
Comment 8•10 years ago
|
||
> nsRangeFrame::MakeAnonymousDiv
> nsCOMPtr<nsIDocument> doc = mContent->GetDocument();
doc is now null. That's not OK for something with a frame. If it's got a frame, it needs to have a non-null GetCurrentDoc(). Layout code depends on that all over...
Comment 9•10 years ago
|
||
And ccing Jonas, since he apparently argued for this state of things.
Updated•10 years ago
|
Depends on: shadowcurrentdoc
Assignee | ||
Comment 10•10 years ago
|
||
We need some other fixes to get the look right, but lets start with this.
Assignee: nobody → bugs
Attachment #8463607 -
Flags: review?(wchen)
Comment 11•10 years ago
|
||
Comment on attachment 8463607 [details] [diff] [review]
patch
Review of attachment 8463607 [details] [diff] [review]:
-----------------------------------------------------------------
This fixes the crash, but we still need to figure out what we need to do to make to form control actually work as expected.
Attachment #8463607 -
Flags: review?(wchen) → review+
Assignee | ||
Comment 12•10 years ago
|
||
well, range does work. It just looks a bit wrong during dragging
Assignee | ||
Comment 13•10 years ago
|
||
Oh, the odd looking painting isn't even related to shadow DOM. It happens on linux in normal dom too.
Assignee | ||
Comment 14•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 15•10 years ago
|
||
Keywords: checkin-needed
Comment 16•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Updated•10 years ago
|
QA Whiteboard: [2.1-feature-qa+]
Updated•10 years ago
|
QA Whiteboard: [2.1-feature-qa+] → [2.1-feature-qa-]
Updated•10 years ago
|
QA Whiteboard: [2.1-feature-qa-]
Whiteboard: [2.1-feature-qa+]
Updated•10 years ago
|
Flags: in-moztrap-
Comment 17•10 years ago
|
||
Marking verified since there's no QA support planned to be done here, so verification isn't needed here.
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•