-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=115639 Patch by László Langó <llango.u-szeged@partner.samsung.com> on 2014-01-23 Reviewed by Ryosuke Niwa. Source/WebCore: http://www.w3.org/TR/2013/WD-dom-20131107/#interface-range Now we can do `new Range()` instead of `document.createRange()`. Backported from Blink: https://chromium.googlesource.com/chromium/blink/+/47ca40efdf58a4787aa33aa75a35778899b1c002%5E%21 Test: fast/dom/Range/range-constructor.html * dom/Range.cpp: (WebCore::Range::create): * dom/Range.h: * dom/Range.idl: LayoutTests: * fast/dom/Range/range-constructor-expected.txt: Added. * fast/dom/Range/range-constructor.html: Added. * fast/dom/dom-constructors-expected.txt: * fast/dom/dom-constructors.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
e6c09a97