- 24 Mar, 2014 26 commits
-
-
jochen@chromium.org authored
BUG=354405 R=ager@chromium.org Review URL: https://codereview.chromium.org/209843002 git-svn-id: svn://svn.chromium.org/blink/trunk@169846 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yurys@chromium.org authored
The interface describes common part of nodes as well as containment and retainment edges. It used to iterate over the elements and serialize them. BUG=None Review URL: https://codereview.chromium.org/209653003 git-svn-id: svn://svn.chromium.org/blink/trunk@169845 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
This will distinguish between setting the value on a newly created Attr object from Document.createAttribute() and setting the value on an Attr object already attached to an Element, e.g. one from Element.attributes. If the first case is common but the second is rare it won't be possible to make value readonly, but it could still be possible to drop the Element association, which is the point of making it readonly. BUG=none Review URL: https://codereview.chromium.org/208333014 git-svn-id: svn://svn.chromium.org/blink/trunk@169844 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
a.suchit@samsung.com authored
While distributing the extra rowspan height in rows, result of multiplication is overflowing in integer and whole method is getting failed due to this. So typecasted a value to 'long long' and final result of the calculation always fits in integer range. BUG=334652 R=jchaffraix@chromium.org Review URL: https://codereview.chromium.org/131103017 git-svn-id: svn://svn.chromium.org/blink/trunk@169843 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
apavlov@chromium.org authored
R=pfeldman, vsevik BUG=354853 Review URL: https://codereview.chromium.org/208223002 git-svn-id: svn://svn.chromium.org/blink/trunk@169842 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
The overload resolution needed for the two FormData.append() methods can be handled directly by generated code, so drop the custom code we had in place for this API. Along with it, handle the conversion of append()'s DOMString arguments per WebIDL (as it is now), removing the special treatment of null and undefined arguments. This also aligns with how others (Gecko, Trident) handle these arguments. R=haraken@chromium.org BUG= Review URL: https://codereview.chromium.org/209933002 git-svn-id: svn://svn.chromium.org/blink/trunk@169841 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
caseq@chromium.org authored
BUG=305842 TBR=pfeldman Review URL: https://codereview.chromium.org/209423003 git-svn-id: svn://svn.chromium.org/blink/trunk@169840 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
Follow up on crrev.com/206793006 and also call wrap() in the code generated for a particular constructor overloading when [Custom=Wrap] is in effect for one or more constructors. R=nbarth@chromium.org,haraken@chromium.org BUG=338804 Review URL: https://codereview.chromium.org/209893002 git-svn-id: svn://svn.chromium.org/blink/trunk@169839 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
wibling@chromium.org authored
ElementStyleResources are only allocated as a part object of another stack allocated object so we don't need to use persistent heap collections as the entries will be marked conservatively via the stack. R=ager@chromium.org, erik.corry@gmail.com, haraken@chromium.org, oilpan-reviews@chromium.org, tkent@chromium.org, vegorov@chromium.org, zerny@chromium.org BUG=341815 Review URL: https://codereview.chromium.org/208053004 git-svn-id: svn://svn.chromium.org/blink/trunk@169838 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
BUG=355489 TBR=philipj Review URL: https://codereview.chromium.org/209913002 git-svn-id: svn://svn.chromium.org/blink/trunk@169837 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
lushnikov@chromium.org authored
This patch fixes CSSParser which failed to properly report last parsed chunk. BUG=329825 Review URL: https://codereview.chromium.org/208593002 git-svn-id: svn://svn.chromium.org/blink/trunk@169836 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nbarth@chromium.org authored
Adds support for constructors when there's a custom wrap. This is split off as 2/2 bindings-only change from: Implement ImageData constructors. https://codereview.chromium.org/196343032/ Follow-up to: Use wrapper_configuration consistently in bindings https://codereview.chromium.org/199633014/ R=haraken BUG=338804 Review URL: https://codereview.chromium.org/206793006 git-svn-id: svn://svn.chromium.org/blink/trunk@169835 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
BUG=248938 TBR=eseidel Review URL: https://codereview.chromium.org/204983014 git-svn-id: svn://svn.chromium.org/blink/trunk@169834 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
BUG=354849 TBR=alancutter Review URL: https://codereview.chromium.org/209813002 git-svn-id: svn://svn.chromium.org/blink/trunk@169833 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yurys@chromium.org authored
BUG=None Review URL: https://codereview.chromium.org/200783007 git-svn-id: svn://svn.chromium.org/blink/trunk@169832 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
BUG=248938 TBR=eseidel Review URL: https://codereview.chromium.org/207453003 git-svn-id: svn://svn.chromium.org/blink/trunk@169831 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nbarth@chromium.org authored
Originally [LegacyImplementedInBaseClass] was intended to be short-term, as the name suggests, for some refactoring. However, for more complex cases of 'implements' usage, the requirements that 'implements' puts on C++ implementation makes it an ugly mess. Thus allowing implementation in base class seems useful long-term, so re-introducing. Per: WebGLRenderingContextBase https://codereview.chromium.org/205243013/ Documentation: http://www.chromium.org/blink/webidl/blink-idl-extended-attributes#TOC-ImplementedInBaseClass-i- Compare earlier CL removing this: Remove support for [LegacyImplementedInBaseClass] IDL extended attribute https://codereview.chromium.org/169273002/ R=haraken BUG=344224 Review URL: https://codereview.chromium.org/209663005 git-svn-id: svn://svn.chromium.org/blink/trunk@169830 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
BUG=355463 TBR=enne@chromium.org Review URL: https://codereview.chromium.org/209783002 git-svn-id: svn://svn.chromium.org/blink/trunk@169829 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pdr@chromium.org authored
After the migration to the new SVG property implementation, some unused functions were left. This patch removes the remainder of the unused functions. Review URL: https://codereview.chromium.org/208523005 git-svn-id: svn://svn.chromium.org/blink/trunk@169828 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nbarth@chromium.org authored
Currently the bindings overuse WrapperConfiguration::Dependent. This changes it to use WrapperConfiguration::Independent unless Dependent is actually needed, by computing it once in the interface context. (Fixes one FIXME and removes some hard-coding.) This is split off as 1/2 bindings-only change from: Implement ImageData constructors. https://codereview.chromium.org/196343032/ BUG=345503 TBR=haraken Review URL: https://codereview.chromium.org/199633014 git-svn-id: svn://svn.chromium.org/blink/trunk@169827 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
This part of the source is fairly fragile. I had to temporarily add a direct include to WebFrame.h because typedefs cannot be forward declared. Unfortunately, this causes IntSize.h to be included before Cocoa. Since Cocoa.h can set NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES, this can cause build failures with conflicting typedef redefinitions of NSRect. To hack around this, we temporarily move the Cocoa.h include to the header as well. BUG=355268 Review URL: https://codereview.chromium.org/209663002 git-svn-id: svn://svn.chromium.org/blink/trunk@169826 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vitalybuka@chromium.org authored
Check toWebPluginContainerImpl() result before dereferencing, even with isPluginDocument() sometimes it's 0; BUG=331927 Review URL: https://codereview.chromium.org/207143003 git-svn-id: svn://svn.chromium.org/blink/trunk@169825 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
BUG=355459 TBR=apavlov Review URL: https://codereview.chromium.org/209683003 git-svn-id: svn://svn.chromium.org/blink/trunk@169824 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
This CL is doing mechanical replacement and there's nothing non-trivial. BUG=340522 Review URL: https://codereview.chromium.org/204743002 git-svn-id: svn://svn.chromium.org/blink/trunk@169823 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
https://codereview.chromium.org/187353003/tasak@google.com authored
Reason for revert: Shadow DOM styling spec was changed. /content/ was reverted in the spec. Original issue's description: > Implement /content/ combinator. > > spec: shadow styling > http://dev.w3.org/csswg/shadow-styling/#content-combinator > > The added layout tests are basically the same as ::content's, because /content/ combinator should have almost the same behavior (except css text, ::content with descendant combinator). > > BUG=349334 > TEST=fast/dom/shadow/cascade-of-treeboundary-crossing-rules.html,fast/dom/shadow/content-combinator-css-text.html,fast/dom/shadow/content-combinator-dynamic-attribute-change.html,fast/dom/shadow/content-combinator-in-inert-shadow.html,fast/dom/shadow/content-combinator-scoped.html,fast/dom/shadow/content-combinator-with-cat.html,fast/dom/shadow/content-combinator-with-hat.html,fast/dom/shadow/content-combinator-with-host-pseudo-class-2.html,fast/dom/shadow/content-combinator-with-host-pseudo-class.html,fast/dom/shadow/content-combinator.html,fast/dom/shadow/multiple-content-combinator.html,fast/dom/shadow/no-style-sharing-with-uncommon-attribute-and-content-combinator.html > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169085 BUG=349334 TBR=dglazkov@chromium.org,hayato@chromium.org Review URL: https://codereview.chromium.org/205563004 git-svn-id: svn://svn.chromium.org/blink/trunk@169822 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Oilpan: Add a test to confirm that pre-finalization hook can be implmemented with HeapHashSet<WeakMmber<T>, U>. BUG= Review URL: https://codereview.chromium.org/204313002 git-svn-id: svn://svn.chromium.org/blink/trunk@169821 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 23 Mar, 2014 6 commits
-
-
esprehn@chromium.org authored
Now that we don't have partial layout we can recombine these methods. No one should be calling the other one except updateLayoutIgnorePendingStylesheets anyway. R=pdr@chromium.org,ojan@chromium.org Review URL: https://codereview.chromium.org/209323003 git-svn-id: svn://svn.chromium.org/blink/trunk@169815 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
HTMLMediaElement::beginScrubbing() would setPausedInternal(true), a mode of pausing that is invisible to scripts. If a media controller was detached while scrubbing, HTMLMediaElement::endScrubbing() would never be called and the element would be stuck in this mode. Since a user can already pause, scrub and then continue playing, making MediaControls do the same should work just fine. Simply keep track of the state before scrubbing and avoid updating the play button(s) as long as we're scrubbing. Note that the special handling of ended() is not needed, since reaching the end of the resource pauses. This wasn't the case at the time the code was originally written. BUG=341813 Review URL: https://codereview.chromium.org/204803002 git-svn-id: svn://svn.chromium.org/blink/trunk@169814 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vollick@chromium.org authored
Revert of Don't rely on values computed as a side effect of paint. (https://codereview.chromium.org/208203002/) Reason for revert: Looks like this is causing ASSERTs due to calling layout-dependent code at the wrong time: https://code.google.com/p/chromium/issues/detail?id=355277 Original issue's description: > Don't rely on values computed as a side effect of paint. > > Contrary to the assertions on the bug, the current code is correct. As > the user changes the selection, there will naturally be a visual > affordance to indicate the selection changes. By the time we scroll, > RL::hasBlockSelectionGapsBounds will be current and correct. > > That said, the hope is that in the future paint will have no side > effects at all, nor do we want layout tests to require repaints during > their execution. So even if this is technically correct it's undesirable > on a number of levels. > > This cl replaces the use of hasBlockSelectionGapsBounds with non-paint > related code (in fact, that function could be removed entirely). > > R=abarth@chromium.org > BUG=353827 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169752 TBR=abarth@chromium.org NOTREECHECKS=true NOTRY=true BUG=353827 Review URL: https://codereview.chromium.org/209543002 git-svn-id: svn://svn.chromium.org/blink/trunk@169813 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#user-interface Added to the spec in http://html5.org/r/8315 after a long discussion: http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2013-November/041662.html Firefox already implements click to play/pause when controls are visible, but that implementation predates the spec so accesskey does not work. HTMLMediaElement::togglePlayState() is made public so that it can be used to implement play/pause in MediaControls also. The video-click-dblckick-standalone.html test has been expected to fail since April 2013, r148246, so remove it now since the the results would change. The new tests provide sufficient coverage. BUG=354746 TEST=LayoutTests/media/activation-behavior.html LayoutTests/media/activation-behavior-accesskey.html LayoutTests/media/activation-behavior-shadow.html Review URL: https://codereview.chromium.org/208483002 git-svn-id: svn://svn.chromium.org/blink/trunk@169812 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
TBR=vsevik Review URL: https://codereview.chromium.org/199633011 git-svn-id: svn://svn.chromium.org/blink/trunk@169811 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yoav@yoav.ws authored
Following https://codereview.chromium.org/171383002/ BisonCSSParser::parseMediaQueryList is no longer used. This CL removes that unused code. BUG= Review URL: https://codereview.chromium.org/201573006 git-svn-id: svn://svn.chromium.org/blink/trunk@169808 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 22 Mar, 2014 8 commits
-
-
abarth@chromium.org authored
That CL caused a bunch of crashes (see referenced bug). This CL contains a manual partial revert of that CL, which will hopefully fix the crashes. TBR=eseidel@chromium.org BUG=355262 Review URL: https://codereview.chromium.org/209473002 git-svn-id: svn://svn.chromium.org/blink/trunk@169807 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eseidel@chromium.org authored
TBR=japhet BUG=355274 Review URL: https://codereview.chromium.org/208393009 git-svn-id: svn://svn.chromium.org/blink/trunk@169806 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eseidel@chromium.org authored
We already had code to handle this case, which is shared by editing as well as HTMLElement::setInnerText. However that code (replaceChildrenWithText) appears to be both wrong and unsafe (modifies existing text nodes without checking if they're shared or not), so I chose not to re-use it for now. This was originally committed as: https://src.chromium.org/viewvc/blink?view=rev&revision=169394 using replaceChildrenWithText, but was rolled out for breaking a zillion tests. This version does not use replaceChildrenWithText. BUG=352836 R=jchaffraix@chromium.org Review URL: https://codereview.chromium.org/200763006 git-svn-id: svn://svn.chromium.org/blink/trunk@169805 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
Review URL: https://codereview.chromium.org/206413004 git-svn-id: svn://svn.chromium.org/blink/trunk@169804 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ch.dumez@samsung.com authored
As per the specification, the iframe's name should be an empty string if unset: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#attr-iframe-name Instead, Chromium was using the iframe's id as window name if the name was unset. This change makes us behave like Firefox 27 and IE 11, verified using: http://jsfiddle.net/xf5H7/9/ This CL sets the name attribute iframe in a lot of layout tests so that testRunner.dumpChildFramesAsText() keeps printing the same result. R=arv@chromium.org, tkent@chromium.org BUG=347169 TEST=fast/frames/iframe-no-name.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168553 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168801 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169304 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169683 Review URL: https://codereview.chromium.org/187103002 git-svn-id: svn://svn.chromium.org/blink/trunk@169803 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yoav@yoav.ws authored
Following the review of https://codereview.chromium.org/209443002/ , I've changed the unitTable access method to be a static CSSPrimitiveValue::fromName method. BUG= Review URL: https://codereview.chromium.org/209443003 git-svn-id: svn://svn.chromium.org/blink/trunk@169802 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yoav@yoav.ws authored
Since MediaQueryExp::create returns a nullptr when the input string is not a valid media feature, I've renamed it to createIfValid. BUG= Review URL: https://codereview.chromium.org/209443002 git-svn-id: svn://svn.chromium.org/blink/trunk@169801 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eae@chromium.org authored
Expand use of WidthCache to apply to all complex text width queries. It'll still bail out for queries where the GlyphOverflow bounds are needed. BUG=347186 R=dominik.rottsches@intel.com Review URL: https://codereview.chromium.org/206793005 git-svn-id: svn://svn.chromium.org/blink/trunk@169800 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-