- 19 Jun, 2014 40 commits
-
-
tkent@chromium.org authored
BUG= Review URL: https://codereview.chromium.org/333143003 git-svn-id: svn://svn.chromium.org/blink/trunk@176505 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eustas@chromium.org authored
WARNING: should be landed after corresponding chromium patch. BUG=245436 Review URL: https://codereview.chromium.org/342433002 git-svn-id: svn://svn.chromium.org/blink/trunk@176504 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yurys@chromium.org authored
title is a presentation entity and shouldn't be exposed on model record. TimelineUIUtils should be used to retrieve it. BUG=361045 R=loislo@chromium.org Review URL: https://codereview.chromium.org/336183005 git-svn-id: svn://svn.chromium.org/blink/trunk@176503 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eroman@chromium.org authored
When the ExecutionContext is destroyed, the outstanding request is marked as cancelled. The corresponding chromium side of this change is https://codereview.chromium.org/341923004/ BUG=375430 Review URL: https://codereview.chromium.org/343723003 git-svn-id: svn://svn.chromium.org/blink/trunk@176502 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sudarshan.p@samsung.com authored
Clicking on a disabled form control element like a button should not make it active. This patch adds a check for the disabled element before setting the activation. This is as per the spec http://www.whatwg.org/specs/web-apps/current-work/multipage/selectors.html#selector-active This matches the behavior on IE. Firefox behavior is same as Chrome. BUG=385601 TEST=fast/css/disabled-form-control-elements-should-not-be-active.html Review URL: https://codereview.chromium.org/340143002 git-svn-id: svn://svn.chromium.org/blink/trunk@176501 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
falken@chromium.org authored
This is needed for removing --enable-service-worker (https://codereview.chromium.org/339973003/). Chromium-side currently returns ErrorTypeDisabled for both "SW is disabled" and "SWContextCore was destroyed during shutdown" when handling a registration request. Since the former will no longer happen, add a generic operation aborted error for the latter. BUG=365201 Review URL: https://codereview.chromium.org/342863003 git-svn-id: svn://svn.chromium.org/blink/trunk@176500 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
fs@opera.com authored
The 'fePointLight' and 'feSpotLight' light-source elements for 'fe{Diffuse,Specular}Lighting' defines positions, and in the case of the latter a 'look-at' point (implicit direction). When an SVG filter is declared to use primitiveUnits=objectBoundingBox, these positions/points needs to be mapped to the user-space of the filter. This is achieved by adding a new method resolve3dPoint() to Filter, and perform the coordinate space mapping when creating the various LightSources. Open-code SVGFELightElement::findLightSource() in it's sources to avoid passing the Filter-instance around more than necessary. BUG=176419 Review URL: https://codereview.chromium.org/337903003 git-svn-id: svn://svn.chromium.org/blink/trunk@176499 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
falken@chromium.org authored
This is preparation for removing the --enable-service-worker flag and removing the virtual/serviceworker test suite. BUG=365201 Review URL: https://codereview.chromium.org/338853006 git-svn-id: svn://svn.chromium.org/blink/trunk@176498 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces |lastEditablePositionBeforePositionInRoot()| to get to editable |Position| instead of |VisiblePosition| for making DeletetSelectionCommand to work editable position regardless its visibility. The root cause of issue 339187 is |DeleteSelectionCommand| shrinks end point of selection range, start position is start of "bar", which is hidden editable, and end position is "foo", which isn't editable, to editable position but |DeleteSelectionCommand| checks both editability and visibility, then it gets null position since end point is hidden. BUG=339187 TEST=LayoutTests/editing/execCommand/delete-hidden-crash.html Review URL: https://codereview.chromium.org/340713003 git-svn-id: svn://svn.chromium.org/blink/trunk@176497 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
malch@chromium.org authored
Review URL: https://codereview.chromium.org/333073005 git-svn-id: svn://svn.chromium.org/blink/trunk@176496 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yurys@chromium.org authored
Drive-by: removed formatter for counters field which is not in the protocol anymore. BUG=361045 R=loislo@chromium.org Review URL: https://codereview.chromium.org/343613004 git-svn-id: svn://svn.chromium.org/blink/trunk@176495 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dominik.rottsches@intel.com authored
Required for instantiating the fallback fonts from the sandbox since this instantiation is not allowed by filename, but only through Skia's SkFontConfigInterface, where paths are previously kept track of in the Linux sandbox support process. Preparation for a Chromium side change which fills fciId. BUG=285303 R=abarth,eae Review URL: https://codereview.chromium.org/340073002 git-svn-id: svn://svn.chromium.org/blink/trunk@176494 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yurys@chromium.org authored
BUG=361045 R=loislo@chromium.org Review URL: https://codereview.chromium.org/339493006 git-svn-id: svn://svn.chromium.org/blink/trunk@176493 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pdr@chromium.org authored
Border-image and its friend mask-box-image are shorthands that expand out into 4 css properties[1]. When setting the initial values for these we would blindly create a new NinePieceBorderImage which is large and contains non-trivial destructors. This patch first checks whether the current value is already equal to the initial value before setting. [1] https://developer.mozilla.org/en-US/docs/Web/CSS/border-image Review URL: https://codereview.chromium.org/340703004 git-svn-id: svn://svn.chromium.org/blink/trunk@176492 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch renames abbreviated name "p" to "editablePosition" in {first,last}EditableVisiblePosition{After,Before}PositionInRoot for improving readability and ease of maintenance. This patch is a preparation of introducing |lastEditablePositionBeforePositionInRoot. BUG=n/a TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/342553008 git-svn-id: svn://svn.chromium.org/blink/trunk@176491 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kouhei@chromium.org authored
HarfBuzzRunCache is a global cache with entries holding |Font| which indirectly hold strong ref to |SVGFontFace|. In future, the leak detector should clear the cache before counting number of |Document|s. These "leaks" disappear if following line is commented out: WebKit/Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp 861 runCache.insert(key, new CachedShapingResults(harfBuzzBuffer.get(), m_font, props.direction, localeString)); BUG=366455 TBR=haraken NOTRY=true Review URL: https://codereview.chromium.org/342153002 git-svn-id: svn://svn.chromium.org/blink/trunk@176490 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
timloh@chromium.org authored
The spec mandates that transition-property (and thus the transition shorthand) are able to support arbitrary unknown properties, for backwards and forwards compatibility. This patch adds support for such unknown properties. Note that this makes the shorthand strings like "ease" or "ease ease-in" ambiguous. In this patch we take the first case to refer to a timing function, and in the second case the first token as a timing function and the second token as the property name. This change progresses the w3c transitions test transition-property-002, although the first two cases of the test are incorrect. BUG=304020,375098 Review URL: https://codereview.chromium.org/298043007 git-svn-id: svn://svn.chromium.org/blink/trunk@176489 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
cbiesinger@chromium.org authored
https://codereview.chromium.org/200923002/diff/380001/Source/core/loader/ImageLoader.cpp moved a document.isActive() check elsewhere, leading to us doing more work for non-active documents. This caused a big perf regression for the bloat test. This patch restores that check to fix the regression. BUG=372971 R=japhet@chromium.org CC=yoav@yoav.ws Review URL: https://codereview.chromium.org/343513003 git-svn-id: svn://svn.chromium.org/blink/trunk@176488 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
oysteine@chromium.org authored
The WebThreadedDataReceiver will now check if the parserthread is still alive before returning it to the ThreadedDataProvider This fixes a crash when a renderer is shut down while a request is still alive, due to the ResourceDispatcher being shut down after Blink is. R=abarth BUG=386383 Review URL: https://codereview.chromium.org/345663002 git-svn-id: svn://svn.chromium.org/blink/trunk@176487 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
There's no reason this would ever be called on remote frames. BUG=386340 Review URL: https://codereview.chromium.org/340213002 git-svn-id: svn://svn.chromium.org/blink/trunk@176486 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alancutter@chromium.org authored
This patch removes a style recalc that occurred every time element.animate() was being called regardless of the input. This is no longer needed now that we are able to defer keyframe resolution the style recalc using DeferredLegacyStyleInterpolation. Review URL: https://codereview.chromium.org/343563002 git-svn-id: svn://svn.chromium.org/blink/trunk@176485 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tyoshino@chromium.org authored
Unnecessary delay is removed Use js-test.js instead of manual logging, asserts BUG=27569 Review URL: https://codereview.chromium.org/344533006 git-svn-id: svn://svn.chromium.org/blink/trunk@176484 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
'innerText' is super-confusing because we have Element::innerText and Element::setInnerText. BUG= TEST=none; no behavior changes. Review URL: https://codereview.chromium.org/340273003 git-svn-id: svn://svn.chromium.org/blink/trunk@176483 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
b.kelemen@samsung.com authored
r175792 did a good job on refactoring this for the most parts, but it didn't do so well by leaving behind the old classes only for NavigatorGamepad. This CL trasitions NavigatorGamepad to the new base classes and and removes the code duplication. Also removeEventListener fixed not to assume that it was the last listener. Review URL: https://codereview.chromium.org/336693004 git-svn-id: svn://svn.chromium.org/blink/trunk@176482 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
keishi@chromium.org authored
BUG=373690 Review URL: https://codereview.chromium.org/342683002 git-svn-id: svn://svn.chromium.org/blink/trunk@176481 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
c.shu@samsung.com authored
BUG=381876 TBR=eseidel Review URL: https://codereview.chromium.org/343733002 git-svn-id: svn://svn.chromium.org/blink/trunk@176479 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tsepez@chromium.org authored
The semicolon-separated case must come first to prevent it from being handled in the ordinary manner when the string starts with javascript:, since it need not obey the normal termination rules when it is first split by semicolons. BUG=384077 Review URL: https://codereview.chromium.org/346623003 git-svn-id: svn://svn.chromium.org/blink/trunk@176478 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jsbell@chromium.org authored
Copy/Paste&Find/Replace of r176370 - same thing for ByteString. Not strictly needed by any existing IDLs, but trivial code change, and no code size difference until used. R=horo@chromium.org,haraken@chromium.org BUG=379009 Review URL: https://codereview.chromium.org/344693002 git-svn-id: svn://svn.chromium.org/blink/trunk@176477 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
TBR=tkent Review URL: https://codereview.chromium.org/342553007 git-svn-id: svn://svn.chromium.org/blink/trunk@176476 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
Rename {first,last}EditablePosition{After,Before}PositionInRoot to denote them returned VisiblePosion This patch renames {first,last}EditablePosition{After,Before}PositionInRoot to {first,last}EditableVisiblePosition{After,Before}PositionInRoot for having lastEditblePositionBeforePositionInRoot() which returns Position instead of VisiblePosition. This patch is a preparation of fixing issue 339187 by http://crrev.com/340713003 BUG=n/a TEST=n/a Review URL: https://codereview.chromium.org/340013002 git-svn-id: svn://svn.chromium.org/blink/trunk@176475 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kochi@chromium.org authored
/shadow-deep/ -> /deep/ and one minor comment correction. BUG=none TEST=none Review URL: https://codereview.chromium.org/334833002 git-svn-id: svn://svn.chromium.org/blink/trunk@176474 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kochi@chromium.org authored
This CL adds histogram statistics for the following web components-related CSS selectors. - :unresolved pseudo-class (for custom element) - ::shadow pseudo element - ::content pseudo element - :host pseudo class - :host-context() pseudo class - /deep/ combinator BUG=383749 TEST=open http://jsbin.com/bopezaso/2/edit, reload several times and see if FeatureObserver in chrome://histograms reflects it (number 465-470) Review URL: https://codereview.chromium.org/339563004 git-svn-id: svn://svn.chromium.org/blink/trunk@176473 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jbroman@chromium.org authored
It's a little opaque to say "if (fontDescription.variant())". Review URL: https://codereview.chromium.org/343813002 git-svn-id: svn://svn.chromium.org/blink/trunk@176472 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eroman@chromium.org authored
BUG=373917 TBR=abarth Review URL: https://codereview.chromium.org/345593004 git-svn-id: svn://svn.chromium.org/blink/trunk@176471 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kouhei@chromium.org authored
TBR=haraken NOTRY=true BUG=364377 Review URL: https://codereview.chromium.org/342883002 git-svn-id: svn://svn.chromium.org/blink/trunk@176470 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hans@chromium.org authored
MSVC treats their in-class initializations as definitions, but other compilers don't. This updates the #ifdef to handle the Clang on Windows case. BUG=82385 TEST=build blink_web.dll with Clang on Windows in Release mode Review URL: https://codereview.chromium.org/330823006 git-svn-id: svn://svn.chromium.org/blink/trunk@176469 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hans@chromium.org authored
On non-Windows, PLATFORM_EXPORT expands to a visibility attribute, which is inherited by nested classes. On Windows, it's expanded to a dllexport/dllimport attribute, which is not inherited. When using Clang on Windows, MediaStreamComponent's dtor got inlined, which destroys m_sourceProvider, whose destructor got inlined, and tried to reference provideInput for the vtable, but failed to link since it wasn't in the right dll. Exporting the inner class fixes this. BUG=82385 TEST=build blink_web.dll with Clang on Windows in Release mode Review URL: https://codereview.chromium.org/343763002 git-svn-id: svn://svn.chromium.org/blink/trunk@176468 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bokan@chromium.org authored
BUG=385313 TBR=bokan@chromium.org NOTRY=True Review URL: https://codereview.chromium.org/338373006 git-svn-id: svn://svn.chromium.org/blink/trunk@176467 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
chrishtr@chromium.org authored
and reconfiguring the squashing GraphicsLayer. Previously we were issuing them only after. BUG=385103 Review URL: https://codereview.chromium.org/345653002 git-svn-id: svn://svn.chromium.org/blink/trunk@176466 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
fmalita@chromium.org authored
Skia's save() SaveFlags bits are going the way of the dodo. At this point all callers have been updated to always pass kMatrixClip, but SkCanvas subclasses also need to use the new willSave() API. (depends on https://codereview.chromium.org/338833003/ rolling) BUG=skia:2297 R=reed@google.com,senorblanco@chromium.org,malch@chromium.org Review URL: https://codereview.chromium.org/338863002 git-svn-id: svn://svn.chromium.org/blink/trunk@176465 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-