Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: include.postload.js

Issue 5474511327592448: Issue 703 - Make sure that z-index of the "Block Element" dialog is the highest in the document (Closed)
Patch Set: Hard-code 0x7FFFFFFF as z-index Created June 24, 2014, 1:07 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <http://adblockplus.org/>, 2 * This file is part of Adblock Plus <http://adblockplus.org/>,
3 * Copyright (C) 2006-2014 Eyeo GmbH 3 * Copyright (C) 2006-2014 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 clickHide_deactivate(); 111 clickHide_deactivate();
112 currentElement = savedElement; 112 currentElement = savedElement;
113 } 113 }
114 114
115 clickHide_filters = filters; 115 clickHide_filters = filters;
116 116
117 clickHideFiltersDialog = document.createElement("iframe"); 117 clickHideFiltersDialog = document.createElement("iframe");
118 clickHideFiltersDialog.src = ext.getURL("block.html"); 118 clickHideFiltersDialog.src = ext.getURL("block.html");
119 clickHideFiltersDialog.setAttribute("style", "position: fixed !important; visi bility: hidden; display: block !important; border: 0px !important;"); 119 clickHideFiltersDialog.setAttribute("style", "position: fixed !important; visi bility: hidden; display: block !important; border: 0px !important;");
120 clickHideFiltersDialog.style.WebkitBoxShadow = "5px 5px 20px rgba(0,0,0,0.5)"; 120 clickHideFiltersDialog.style.WebkitBoxShadow = "5px 5px 20px rgba(0,0,0,0.5)";
121 clickHideFiltersDialog.style.zIndex = 99999; 121 clickHideFiltersDialog.style.zIndex = 0x7FFFFFFF;
122 122
123 // Position in upper-left all the time 123 // Position in upper-left all the time
124 clickHideFiltersDialog.style.left = "50px"; 124 clickHideFiltersDialog.style.left = "50px";
125 clickHideFiltersDialog.style.top = "50px"; 125 clickHideFiltersDialog.style.top = "50px";
126 126
127 // Make dialog partly transparent when mouse isn't over it so user has a bette r 127 // Make dialog partly transparent when mouse isn't over it so user has a bette r
128 // view of what's going to be blocked 128 // view of what's going to be blocked
129 clickHideFiltersDialog.onmouseout = function() 129 clickHideFiltersDialog.onmouseout = function()
130 { 130 {
131 if (clickHideFiltersDialog) 131 if (clickHideFiltersDialog)
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 569
570 clickHide_deactivate(); 570 clickHide_deactivate();
571 } 571 }
572 break; 572 break;
573 default: 573 default:
574 sendResponse({}); 574 sendResponse({});
575 break; 575 break;
576 } 576 }
577 }); 577 });
578 } 578 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld