- 19 Mar, 2014 6 commits
-
-
enne@chromium.org authored
BUG=345027 Review URL: https://codereview.chromium.org/196353013 git-svn-id: svn://svn.chromium.org/blink/trunk@169508 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ksakamoto@chromium.org authored
As per a discussion on www-style [1], FontFace#ready is removed from the spec [2], and FontFace#load() is changed to return a Promise which fulfills when the font is ready. [1] http://lists.w3.org/Archives/Public/www-style/2014Mar/0069.html [2] http://dev.w3.org/csswg/css-font-loading/ TEST=fast/css/fontface-methods.html BUG=53213 Review URL: https://codereview.chromium.org/184633005 git-svn-id: svn://svn.chromium.org/blink/trunk@169507 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nbarth@chromium.org authored
EventTarget has special-cased bindings generation, with several bugs. This CL corrects and simplifies it in a few ways: 1. Remove duplicate |EventTarget* imp| initialization Currently EventListener has |EventTarget* imp| initialized twice. (With different names, |impl| and |imp|, so this compiles.) Also rearranges the template code so that the special case is more narrowly focused (instead of overall), and check the interface name, not just method names, which clarifies the special case. (This also means we can remove the test cases, as it's just a special-case for one interface.) This does *not* change web behavior: Unlike all other methods, addEventListener and removeEventListener do not check arguments length. This is apparently required for legacy calls, so I've opened a separate bug for this: https://code.google.com/p/chromium/issues/detail?id=353484 Previously EventTarget skipped this, due to having an overall special case, instead of just special-casing the method call itself; we now have an explicit special-case in the template. This was hit by 3 tests: fast/dom/node-legacy-event-listener.html fast/dom/XMLHttpRequest-legacy-event-listener.html fast/dom/Window/window-legacy-event-listener.html (More details at the bug.) I've added more detailed tests on behavior, and other argument handling. Follow-up CL: * further reduce special case (use usual argument handling) TBR=haraken BUG=345503 BUG=353484 Review URL: https://codereview.chromium.org/201603002 git-svn-id: svn://svn.chromium.org/blink/trunk@169506 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jchaffraix@chromium.org authored
The logic was just plain wrong: during a position movement layout, we have to invalidate the old and new position as we are shifted. The current code would generate incremental invalidation as it fell down the wrong path. Refactored the code to do what it's supposed to do and added an invalidation test to cover a case where incremental invalidation failed. BUG=352050 Review URL: https://codereview.chromium.org/202433003 git-svn-id: svn://svn.chromium.org/blink/trunk@169505 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zmo@chromium.org authored
broke maps_pixel_test on gpu debug bots (so far mac and linux, probably win also) one exampel: http://chromegw.corp.google.com/i/chromium.webkit/builders/GPU%20Mac10.7%20%28dbg%29/builds/23223 > HTML Imports: Send credentials for same origin requests > > This captures following spec chagne: https://www.w3.org/Bugs/Public/show_bug.cgi?id=24905 > The essential part of the change is in HTMLImportsController.cpp. > Anything else is to make it work with redirect. > > The problem here is that allowCredentials flag is held both > by ResourceLoaderOptions and ResourceRequest and these two > can go out-of-sync. This change tries to make them in sync. > > Such a state duplication should be resolved eventually, but > that is another story. > > BUG=348671 > TEST=import-cors-credentials.html > R=abarth, dglazkov@chromium.org > > Review URL: https://codereview.chromium.org/196043002 TBR=morrita@chromium.org Review URL: https://codereview.chromium.org/203593008 git-svn-id: svn://svn.chromium.org/blink/trunk@169504 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rtoy@google.com authored
Throw an exception as required when the sample rate of the convolver node buffer does not match the sample rate of the audio context. Added test for this case. BUG=352776 Review URL: https://codereview.chromium.org/200543005 git-svn-id: svn://svn.chromium.org/blink/trunk@169501 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 18 Mar, 2014 34 commits
-
-
shans@chromium.org authored
This patch modifies KeyframeEffectModel's implementation such that an InterpolationEffect is generated after Keyframe normalization. The InterpolationEffect then handles sample generation, and Interpolations are plumbed down through the style resolution pipeline instead of CompositableValues. BUG=346495 Review URL: https://codereview.chromium.org/194673002 git-svn-id: svn://svn.chromium.org/blink/trunk@169500 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jcivelli@chromium.org authored
Also disabling JavaScript for MHTML documents. Because JavaScipt is now disabled, MHTML layout tests had to be changed not to use JavaScript anymore. BUG=330663 TEST=Run MHTML layout tests. R=abarth@chromium.org, jschuh@chromium.org Review URL: https://codereview.chromium.org/161383002 git-svn-id: svn://svn.chromium.org/blink/trunk@169499 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zmo@chromium.org authored
BUG=353792 TEST= TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/203493006 git-svn-id: svn://svn.chromium.org/blink/trunk@169498 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zmo@chromium.org authored
On linux and windows BUG=353790 TEST= TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/203483006 git-svn-id: svn://svn.chromium.org/blink/trunk@169497 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
morrita@chromium.org authored
This captures following spec chagne: https://www.w3.org/Bugs/Public/show_bug.cgi?id=24905 The essential part of the change is in HTMLImportsController.cpp. Anything else is to make it work with redirect. The problem here is that allowCredentials flag is held both by ResourceLoaderOptions and ResourceRequest and these two can go out-of-sync. This change tries to make them in sync. Such a state duplication should be resolved eventually, but that is another story. BUG=348671 TEST=import-cors-credentials.html R=abarth, dglazkov@chromium.org Review URL: https://codereview.chromium.org/196043002 git-svn-id: svn://svn.chromium.org/blink/trunk@169496 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
leviw@chromium.org authored
Correcting placement and clipping of sub-pixel offset composited layers by properly adding the accumulated sub- pixel offset from composited parents. BUG=347521 Review URL: https://codereview.chromium.org/204053002 git-svn-id: svn://svn.chromium.org/blink/trunk@169495 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yoav@yoav.ws authored
The assert was a result of an off-by-one error in both the array's definition and the assert itself. BUG=353577 Review URL: https://codereview.chromium.org/203343004 git-svn-id: svn://svn.chromium.org/blink/trunk@169494 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eroman@chromium.org authored
(Left overs from 3-sided patches) BUG=245025 Review URL: https://codereview.chromium.org/198483002 git-svn-id: svn://svn.chromium.org/blink/trunk@169493 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zmo@chromium.org authored
media/encrypted-media/encrypted-media-playback-setmediakeys-after-src.html flaky on Linux fast/files/workers/worker-read-blob-async-crash.html times out randomly BUG=353770,353208 TEST= TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/203303005 git-svn-id: svn://svn.chromium.org/blink/trunk@169492 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rune@opera.com authored
SelectorCheckingContext.elementStyle is used to store the RenderStyle for the element we are currently computing styles for. It is among other things used for setting flags on the RenderStyle if we may match :hover, :first-child, or some other pseudo classes. When we go past a combinator during matching, we set the elementStyle to null to tell we are not currently looking at the target element for the selector matching. The :ancestor pseudo is a special case in the sense that it will select styles for the shadow host element, but its sub-selectors may actually match ancestor elements of the host element, behaving as if we had a descendant combinator. This CL resets elementStyle to 0 when matching ancestors of a shadow host for the :ancestor pseudo class in order to set flags for :hover, :first-child, etc on the correct RenderStyle objects. R=dglazkov@chromium.org BUG=353503 Review URL: https://codereview.chromium.org/201573003 git-svn-id: svn://svn.chromium.org/blink/trunk@169491 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=169467 BUG=350978 TBR=dcheng@chromium.org Review URL: https://codereview.chromium.org/195893040 git-svn-id: svn://svn.chromium.org/blink/trunk@169490 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zmo@chromium.org authored
Gardening: http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-same-url-block.html flaky BUG=353763 TEST= TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/203293008 git-svn-id: svn://svn.chromium.org/blink/trunk@169489 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zmo@chromium.org authored
BUG=248938 TEST= TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/203593006 git-svn-id: svn://svn.chromium.org/blink/trunk@169488 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zmo@chromium.org authored
BUG=245644 TEST= TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/204083002 git-svn-id: svn://svn.chromium.org/blink/trunk@169487 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
enne@chromium.org authored
BUG=345027 Review URL: https://codereview.chromium.org/203623006 git-svn-id: svn://svn.chromium.org/blink/trunk@169486 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zmo@chromium.org authored
Mark two flaky tests: fast/scrolling/hover-during-scroll.html http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-same-none-block.html BUG=353751,353754 TEST= TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/201153017 git-svn-id: svn://svn.chromium.org/blink/trunk@169485 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zmo@chromium.org authored
BUG=248938 TEST= TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/203693005 git-svn-id: svn://svn.chromium.org/blink/trunk@169484 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zmo@chromium.org authored
BUG=353746 TEST= TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/203223011 git-svn-id: svn://svn.chromium.org/blink/trunk@169483 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zmo@chromium.org authored
It fails on platforms other than debug from time to time BUG=352377 TEST= TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/204023003 git-svn-id: svn://svn.chromium.org/blink/trunk@169482 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zmo@chromium.org authored
It times out on linux from time to time BUG=248938 TEST= TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/203983003 git-svn-id: svn://svn.chromium.org/blink/trunk@169481 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zmo@chromium.org authored
fast/forms/number/number-appearance-spinbutton-disabled-readonly.html fast/forms/select/listbox-appearance-basic.html These two fail consistently on this bot only, not the WebKit Linux ToT bot. BUG=353736 TEST= TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/203443006 git-svn-id: svn://svn.chromium.org/blink/trunk@169480 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
michaeln@chromium.org authored
Review URL: https://codereview.chromium.org/194073002 git-svn-id: svn://svn.chromium.org/blink/trunk@169479 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
enne@chromium.org authored
This cleans up the remaining compositing/ display() calls, other than two tricky cases (squash-animated-gif.html and video-with-invalid-source.html) which are in different CLs for ease of review and landing. BUG=345027 Review URL: https://codereview.chromium.org/196653012 git-svn-id: svn://svn.chromium.org/blink/trunk@169478 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zmo@chromium.org authored
BUG=24182 TEST= TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/203723004 git-svn-id: svn://svn.chromium.org/blink/trunk@169477 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ziran.sun@samsung.com authored
The <select> preview is set with yellow background inline with Input and TextArea Element preview css settings. R=dhollowa@chromium.org, isherman@chromium.org, jhawkins@chromium.org, tkent@chromium.org BUG=58719 Review URL: https://codereview.chromium.org/138433002 git-svn-id: svn://svn.chromium.org/blink/trunk@169476 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zmo@chromium.org authored
virtual/stable/http/tests/websocket/workers/worker-reload-repeated.html http/tests/websocket/workers/worker-reload-repeated.html virtual/threaded/animations/keyframe-timing-functions-multiple-properties.html BUG=353727,349537 TEST= TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/203673004 git-svn-id: svn://svn.chromium.org/blink/trunk@169475 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dongseong.hwang@intel.com authored
Move Canvas2DLayerBridgeTest.cpp, Canvas2DLayerManagerTest.cpp and DrawingBufferTest.cpp. BUG=353585 Review URL: https://codereview.chromium.org/203513002 git-svn-id: svn://svn.chromium.org/blink/trunk@169474 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
enne@chromium.org authored
BUG=345027 R=jamesr@chromium.org Review URL: https://codereview.chromium.org/203173006 git-svn-id: svn://svn.chromium.org/blink/trunk@169473 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
fmalita@chromium.org authored
calculateTransformationToOutermostCoordinateSystem() should stop at the first composited layer to match its backing resolution. Currently, we are incorrectly taking the layer transform into account (the stop condition is off by one). R=pdr@chromium.org,schenney@chromium.org,senorblanco@chromium.org BUG=345441 Review URL: https://codereview.chromium.org/196413023 git-svn-id: svn://svn.chromium.org/blink/trunk@169472 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rune@opera.com authored
Forward positional rules only affect selector matching of siblings when nodes are added to or removed from the DOM. However, selectors with indirect adjacent combinators may affect sibling evaluation without node addition or removal. For instance if a class selector left of an indirect adjacent combinator is set on an element. Since the indirect adjacent combinator was considered as a forward positional rule, we were recalculating sibling styles in the presence of an nth-selector. We now split indirect adjacent selector matching as a separate flag to be able to optimize recalc in the presence if nth-selectors and skip sibling recalc for forward positional rules if no mutations happened. ElementRareData and ShadowRootRareData do not increase in size since they were already padded in the relevant parts. R=ojan BUG=160212 Review URL: https://codereview.chromium.org/198783003 git-svn-id: svn://svn.chromium.org/blink/trunk@169471 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
zmo@chromium.org authored
Android builders fail compile One exampel: http://chromegw.corp.google.com/i/chromium.webkit/builders/Android%20Builder/builds/36609 > Move deferred loading logic from WebMediaPlayerClientImpl to HTMLMediaElement. > > BUG=350571 > TEST=All layout tests still pass. > > Review URL: https://codereview.chromium.org/192013002 TBR=acolwell@chromium.org Review URL: https://codereview.chromium.org/203213006 git-svn-id: svn://svn.chromium.org/blink/trunk@169470 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vegorov@chromium.org authored
Use them to avoid data races in the SafePointBarrier discovered by TSAN and guarantee that compiler does not move any memory accesses around m_unparkedThreadCount and m_canResume loads. This change is likely to affect only ARM with its weakly ordered memory model. BUG=347559 Review URL: https://codereview.chromium.org/199413012 git-svn-id: svn://svn.chromium.org/blink/trunk@169469 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
junov@chromium.org authored
Added missing null ptr check. BUG=353248 Review URL: https://codereview.chromium.org/203293005 git-svn-id: svn://svn.chromium.org/blink/trunk@169468 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
This regression was introduced in r168256. The previous behavior depended on whether Frame had already been garbage collected after being removed from the DOM. If it had not been garbage collected yet, then it would return a Performance object, but if it had, then it would return null. This patch adds the now-necessary check that frame is non-null and makes the behavior consistent whether or not the underlying Frame object has already been garbage collected, which makes Firefox's behavior. BUG=350978 R=abarth@chromium.org Review URL: https://codereview.chromium.org/203053002 git-svn-id: svn://svn.chromium.org/blink/trunk@169467 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-