Skip to content

Commit

Permalink
[CSS Shapes] Fix Shapes's polygon tests
Browse files Browse the repository at this point in the history
Shapes's polygon tests didn't run because of a typo and some missing js include.

Merged revisions:
- #1 http://trac.webkit.org/changeset/153338
- #2 http://trac.webkit.org/changeset/153350

Review URL: https://chromiumcodereview.appspot.com/20489004

git-svn-id: svn://svn.chromium.org/blink/trunk@155102 bbb929c8-8fbe-4397-9dbb-9b2b20218538
  • Loading branch information
[email protected] committed Jul 29, 2013
1 parent 03480c7 commit 8952259
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LayoutTests/fast/shapes/resources/simple-polygon.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function polygonXIntercepts(polygon, y) {
if (!foundXIntercept)
return [];

return [SubPixelLayout.snapToLayoutUnit(interceptsMinX), SubPixelLayout.snapTolayoutUnit(interceptsMaxX)];
return [SubPixelLayout.snapToLayoutUnit(interceptsMinX), SubPixelLayout.snapToLayoutUnit(interceptsMaxX)];
}

function polygonLineIntercepts(polygon, y, lineHeight) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="../resources/subpixel-utils.js"></script>
<script src="../resources/simple-polygon.js"></script>
<script>
if (window.internals)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="../resources/subpixel-utils.js"></script>
<script src="../resources/simple-polygon.js"></script>
<script>
if (window.internals)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="../resources/subpixel-utils.js"></script>
<script src="../resources/simple-polygon.js"></script>
<script>
if (window.internals)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="../resources/subpixel-utils.js"></script>
<script src="../resources/simple-polygon.js"></script>
<script>
if (window.internals)
Expand Down

0 comments on commit 8952259

Please sign in to comment.