- 28 Mar, 2014 40 commits
-
-
dstockwell@chromium.org authored
Implements transform-style as defined in CSS Transforms[1]. Behavior is identical to -webkit-transform-style. Note, this property is guarded by the CSSTransformsUnprefixed runtime feature (enabled only for testing). [1] http://www.w3.org/TR/css3-transforms/ BUG=154772 Review URL: https://codereview.chromium.org/211123002 git-svn-id: svn://svn.chromium.org/blink/trunk@170305 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
fs@opera.com authored
These functions are always called with string literals, so having the functions accept Strings means all callers have to perform implicit conversions. By modifying the signatures to use 'const char*' for these cases, these conversion can be avoided (in the callers) and only be performed in the functions themselves. This reduces code size by ~70kB (Linux, x86-64, gcc-4.8.2). Review URL: https://codereview.chromium.org/216633002 git-svn-id: svn://svn.chromium.org/blink/trunk@170304 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
The removal has caused more trouble than expected on Android, because usage is higher there and the UseCounter data from Windows was used in the "Intent to Remove" thread. Restore the API behind a flag so that it can more easily be turned on and off. It's off by default, but likely it will have to be enabled on at least the upcoming M35 branch. BUG=346236 Review URL: https://codereview.chromium.org/213193010 git-svn-id: svn://svn.chromium.org/blink/trunk@170303 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dstockwell@chromium.org authored
Logic to split keyframe animations into multiple players was required before Web Animations supported per-keyframe easings. CSS Animations were updated to use per-keyframe easings in r169119[1], but this logic remained. [1] https://src.chromium.org/viewvc/blink?view=rev&revision=169119 BUG=346590 Review URL: https://codereview.chromium.org/214603002 git-svn-id: svn://svn.chromium.org/blink/trunk@170302 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rego@igalia.com authored
Inside method updateImplicitGridColumn() of test fast/css-grid-layout/implicit-position-dynamic-change.html we define a variable gridItem that is not used. This patch removes it. Review URL: https://codereview.chromium.org/213423009 git-svn-id: svn://svn.chromium.org/blink/trunk@170301 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yhirano@chromium.org authored
Enable V8 Promises. This CL sets --harmony-promises flag. When V8 Promises are shipped, I will remove it. BUG=352597, 352552 Review URL: https://codereview.chromium.org/209853010 git-svn-id: svn://svn.chromium.org/blink/trunk@170300 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mikhail.pozdnyakov@intel.com authored
This patch removes the code branch handling "numCharacters == 1" case leaving only the 'memcpy' call inside the 'WTF::copyChars' function's body. The reason for it is that the branch made the code more complex giving the minor performance benefit: there was no benefit if the 'source' arg was static, otherwise the difference was just two extra asm calls ('testq' and 'je') which should not give impact to the real use cases performance (tested with GCC 4.6.3). Review URL: https://codereview.chromium.org/213073002 git-svn-id: svn://svn.chromium.org/blink/trunk@170299 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
This CL changes OwnPtr<OwnPtr<InterporableValue>[]> in InterpolableValueList to Vector<OwnPtr<InterporableValue>>. As far as I see the code, I don't think this change will affect performance. BUG=340522 Review URL: https://codereview.chromium.org/212213007 git-svn-id: svn://svn.chromium.org/blink/trunk@170298 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
Oilpan: Replace all remaining adoptRef()s in the Event hierarchy with adoptRefWillBeRefCountedGarbageCollected() This CL just fixes left-over from r170164. BUG=340522 NOTRY=true Review URL: https://codereview.chromium.org/216113003 git-svn-id: svn://svn.chromium.org/blink/trunk@170297 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
togglePlayState() handles the MediaController case correctly, which the updated code paths did not. Introduce togglePlayStateWillPlay() to replace canPlay() and paused() in certain contexts. The readyState < HAVE_METADATA in canPlay() condition is not replicated because the hasSource() checks in paintMediaPlayButton and paintMediaOverlayPlayButton disables the buttons so that they can't be pressed at all. Some corner case seems likely to exist, but was not found in ad-hoc testing. Drop the ASSERT(controls()) in tooglePlayState() since it is now used in contexts not directly tied to MediaControls. The ASSERT doesn't fail yet, but the same ASSERT in togglePlayStateWillPlay() would, since MediaControlPlayButtonElement::updateDisplayType() is called when the controls are created for text track rendering but are not shown. These changes made it possible to reduce the size of MediaControllerInterface a little bit more. BUG=341813 TEST=none, no observable changes intended Review URL: https://codereview.chromium.org/214793005 git-svn-id: svn://svn.chromium.org/blink/trunk@170296 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dstockwell@chromium.org authored
Adds a runtime flag (enabled only for testing) and defines property names for each property defined in CSS Transforms[1]. Future patches will make these properties functional. [1] http://www.w3.org/TR/css3-transforms/ BUG=154772 Review URL: https://codereview.chromium.org/211033002 git-svn-id: svn://svn.chromium.org/blink/trunk@170295 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dgozman@chromium.org authored
BUG=356616 Review URL: https://codereview.chromium.org/214453003 git-svn-id: svn://svn.chromium.org/blink/trunk@170294 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
loislo@chromium.org authored
BUG= R=pfeldman@chromium.org Review URL: https://codereview.chromium.org/216613002 git-svn-id: svn://svn.chromium.org/blink/trunk@170293 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jun.a.jiang@intel.com authored
BUG=351956 Review URL: https://codereview.chromium.org/214733002 git-svn-id: svn://svn.chromium.org/blink/trunk@170292 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ager@chromium.org authored
Align with Firefox and return false in the case where the Range method leads to an exception. Previously, we returned true. The behavior of these selection APIs are not in any specs and they are only implemented by Blink and Firefox. R=haraken@chromium.org, nbarth@chromium.org BUG= Review URL: https://codereview.chromium.org/212873002 git-svn-id: svn://svn.chromium.org/blink/trunk@170291 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
TBR=pfeldman Review URL: https://codereview.chromium.org/214793004 git-svn-id: svn://svn.chromium.org/blink/trunk@170290 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Revert of Remove applyAuthorStyles flag from ShadowRoot. (https://codereview.chromium.org/215313003/) Reason for revert: w3c/web-platform-tests/shadow-dom/elements-and-dom-objects/shadowroot-object/shadowroot-attributes/test-004.html started to fail. http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20Blink&tests=w3c/web-platform-tests/shadow-dom/elements-and-dom-objects/shadowroot-object/shadowroot-attributes/test-004.html Original issue's description: > Remove applyAuthorStyles flag from ShadowRoot. > > This re-applies https://src.chromium.org/viewvc/blink?revision=165673&view=revision. > > BUG=357151 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170271 TBR=esprehn@chromium.org,tasak@google.com,hayato@chromium.org,dglazkov@chromium.org NOTREECHECKS=true NOTRY=true BUG=357151 Review URL: https://codereview.chromium.org/216543002 git-svn-id: svn://svn.chromium.org/blink/trunk@170289 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dongseong.hwang@intel.com authored
Perf tests in PerformanceTests/Canvas usually run 6 times; 1 for warm-up, 5 for data. Currently, upload-canvas-2d-to-texture.html takes ~72 sec on Intel Ivy Bridge. If we have Android perf bot, this perf test takes huge time. upload-canvas-2d-to-texture.html calls glTexImage2d() 1000 times per one run. Ivy Bridge without Accelerated 2D Canvas can call glTexImage2d() ~85 times/sec, so one run takes 12 sec, and 6 runs take 72 sec. This CL limits 1 sec per one run for all canvas perf tests. To apply common logic to 6 tests, this CL introduces canvas_runner.js, which is a wrapper of PerformanceTests/resources/runner.js. canvas_runner.js makes sure that one run takes less than 1 sec. The algorithm is min(1 sec, time to call api 1000 times). This CL effects test results slightly, because now upload-canvas-2d-to-texture.html takes 6 sec, instead of 72 sec. BUG=242244 NOTRY=true Review URL: https://codereview.chromium.org/200253002 git-svn-id: svn://svn.chromium.org/blink/trunk@170288 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nbarth@chromium.org authored
This consolidates the test cases post-rewrite. Specifically: * Remove old Perl TestInterface and TestObject (-2 files) * Move special operations into TestInterface{,2,3} (-2 files) (2 TestSpecialOperations*.idl left b/c 5 variants total, if squeezed so overlap) * Remove TestEventTarget, as covered by TestInterfaceEventTarget (-1 file) * Rename s/(.*)Python.idl/\1.idl TBR=haraken BUG=239771 NOTRY=true Review URL: https://codereview.chromium.org/213543004 git-svn-id: svn://svn.chromium.org/blink/trunk@170287 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dstockwell@chromium.org authored
Both transition and will-change should produce string values for unknown properties, but were producing identifiers. transition requires follow on work as it only currently considers valid property names. NOTRY=true Review URL: https://codereview.chromium.org/216003002 git-svn-id: svn://svn.chromium.org/blink/trunk@170286 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
loislo@chromium.org authored
BUG= R=pfeldman@chromium.org Review URL: https://codereview.chromium.org/214783002 git-svn-id: svn://svn.chromium.org/blink/trunk@170285 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eroman@chromium.org authored
These tests come from WebKit's LayoutTests/crypto, with only slight modifications to work in Blink. BUG=245025 Review URL: https://codereview.chromium.org/215763002 git-svn-id: svn://svn.chromium.org/blink/trunk@170284 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eustas@chromium.org authored
BUG=335712 Review URL: https://codereview.chromium.org/214523004 git-svn-id: svn://svn.chromium.org/blink/trunk@170283 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eustas@chromium.org authored
+minor refactoring. BUG=354131 Review URL: https://codereview.chromium.org/212933011 git-svn-id: svn://svn.chromium.org/blink/trunk@170282 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=170250 TBR=vollick@chromium.org Review URL: https://codereview.chromium.org/216483002 git-svn-id: svn://svn.chromium.org/blink/trunk@170281 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
We have ASSERT_DISABLED macro, and it is typically used as #if !ASSERT_DISABLED ... #endif Double negative is not good for readability. We can write it with ASSERT_ENABLED as following: #if ASSERT_ENABLED ... #endif TEST=none; no behavior changes BUG= Review URL: https://codereview.chromium.org/216313002 git-svn-id: svn://svn.chromium.org/blink/trunk@170280 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eustas@chromium.org authored
All forwarded methods, expect didReceiveResponse, contains m_client check. Added check to didReceiveResponse for consistency. BUG=356654 Review URL: https://codereview.chromium.org/213383008 git-svn-id: svn://svn.chromium.org/blink/trunk@170279 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dbeam@chromium.org authored
<select>, or <input> tags via Autofill. This more closely matches the spec behavior as "input" events should be fired whenever the text is changed. From the spec[1]: """ When the user agent is to change an input element's value on behalf of the user (e.g. as part of a form prefilling feature), the user agent must queue a task to first update the value accordingly, then fire a simple event that bubbles named input at the input element, then fire a simple event that bubbles named change at the input element. """ BUG=353691 R=tkent@chromium.org [1] http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#event-input-input Review URL: https://codereview.chromium.org/215903003 git-svn-id: svn://svn.chromium.org/blink/trunk@170278 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
abarth@chromium.org authored
This CL separates the work we do to update the GraphicsLayer geometry from the work we do to rebuild the GraphicsLayer tree. We now update the geometry in tree-order rather than paint order, which fixes a bug in how we're propagating dirty bits during the tree walk. The bug fix is captured by the reorder-z-with-style.html test added in this CL. Review URL: https://codereview.chromium.org/215063006 git-svn-id: svn://svn.chromium.org/blink/trunk@170277 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jshin@chromium.org authored
Harfbuzz on CrOS does not have hb-icu leading to a compile failure when system_harfbuzz is turned on to avoid a linker warning. (see http://crbug.com/353127). HarfbuzzShaper uses just one function (hb_icu_script_to_script) from hb-icu and it's a simple wrapper. It's ported to HarfbuzzShaper to avoid the dependency on hb-icu. BUG=356929 TEST=content_shell gets built on Linux and no change in layout tests. Review URL: https://codereview.chromium.org/214413002 git-svn-id: svn://svn.chromium.org/blink/trunk@170276 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
BUG=357087 Review URL: https://codereview.chromium.org/216273002 git-svn-id: svn://svn.chromium.org/blink/trunk@170275 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=170237 BUG=345027 TBR=enne@chromium.org Review URL: https://codereview.chromium.org/216363002 git-svn-id: svn://svn.chromium.org/blink/trunk@170274 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ojan@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=170239 BUG=345027 TBR=enne@chromium.org Review URL: https://codereview.chromium.org/215913003 git-svn-id: svn://svn.chromium.org/blink/trunk@170273 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jam@chromium.org authored
Remove unused selection related methods from WebView that got moved to WebFrame in r169968 now that Chrome uses the new ones. BUG=304341 Review URL: https://codereview.chromium.org/215703002 git-svn-id: svn://svn.chromium.org/blink/trunk@170272 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dglazkov@chromium.org authored
This re-applies https://src.chromium.org/viewvc/blink?revision=165673&view=revision. BUG=357151 Review URL: https://codereview.chromium.org/215313003 git-svn-id: svn://svn.chromium.org/blink/trunk@170271 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
Since the unprefixed API isn't event implemented yet removal is nowhere in sight, but it's still interesting to track these features over time. BUG=none Review URL: https://codereview.chromium.org/214873002 git-svn-id: svn://svn.chromium.org/blink/trunk@170270 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
Review URL: https://codereview.chromium.org/214523005 git-svn-id: svn://svn.chromium.org/blink/trunk@170269 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
esprehn@chromium.org authored
This was done in r165624 but was wrong, you cannot ever synchronously dispatch the load or error event from inside didFinish since it means you run can end up running script inside ::insertedInto. It's not clear from the bug what the issue was, but the timing in the test that I updated was also wrong since it had <link> elements firing their load events synchronously while parsing. There might be a real timing bug in imports, but firing the event synchronously inside ::didFinish() isn't how to fix it. BUG=336113, 357435, 357445 Review URL: https://codereview.chromium.org/214513011 git-svn-id: svn://svn.chromium.org/blink/trunk@170268 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
esprehn@chromium.org authored
To eventually remove the ChildNodesLazySnapshot we need to stop allowing script to run inside ::insertedInto. It's also important since even with the lazy snapshot we still keep getting security bugs down there. This starts the process of removal by switching HTMLMetaElement to use a post insertion callback. R=ojan@chromium.org,abarth@chromium.org BUG=357435 Review URL: https://codereview.chromium.org/214003003 git-svn-id: svn://svn.chromium.org/blink/trunk@170267 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
I forgot to replace a couple of adoptRef()s in r170164. SimulatedMouseEvent's adoptRef() was another left-over. BUG=340522 TBR=ager Review URL: https://codereview.chromium.org/216283002 git-svn-id: svn://svn.chromium.org/blink/trunk@170266 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-