Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(420)

Unified Diff: testing/resources/pixel/bug_585_highlight.in

Issue 2289293005: Use /RECT or /QuadPoints for annotation coordinates, depending on /AP (Closed)
Patch Set: Use either /RECT or /QuadPoints for annotation coordinates, depending on /AP Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: testing/resources/pixel/bug_585_highlight.in
diff --git a/testing/resources/pixel/bug_492.in b/testing/resources/pixel/bug_585_highlight.in
similarity index 66%
copy from testing/resources/pixel/bug_492.in
copy to testing/resources/pixel/bug_585_highlight.in
index 45c4a6f38b02867475aa757c947d011904f185be..22a18a1c2122f78f9cc94e3c0482966d0079fef5 100644
--- a/testing/resources/pixel/bug_492.in
+++ b/testing/resources/pixel/bug_585_highlight.in
@@ -2,7 +2,6 @@
{{object 1 0}} <<
/Type /Catalog
/Pages 2 0 R
- /OpenAction 20 0 R
>>
endobj
{{object 2 0}} <<
@@ -28,28 +27,12 @@ endobj
>>
endobj
-% OpenAction action
-{{object 20 0}} <<
- /Type /Action
- /S /JavaScript
- /JS 21 0 R
->>
-endobj
-% JS program to exexute
-{{object 21 0}} <<
->>
-stream
- var annot = this.getAnnot(0, "Annot-1");
- annot.hidden = false;
-endstream
-endobj
-
{{object 22 0}} <<
/Type /Annot
/Subtype /Highlight
- /Rect [ 475 681 512 690 ]
+ /Rect [ -1 -1 -1 -1 ]
/NM (Annot-1)
- /F 2
+ /F 4
/QuadPoints [ 475 688 512 688 475 679 512 679 ]
/C [ 0.0001108646 0.001760244 0.9982184 ]
/Contents ()

Powered by Google App Engine
This is Rietveld 408576698