OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> | 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 11 matching lines...) Expand all Loading... |
22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 .resource-view { | 30 .resource-view { |
31 display: none; | 31 display: none; |
32 position: absolute; | |
33 top: 0; | |
34 right: 0; | |
35 left: 0; | |
36 bottom: 0; | |
37 overflow: auto; | 32 overflow: auto; |
38 } | 33 } |
39 | 34 |
40 .resource-view.visible { | 35 .resource-view.visible { |
41 display: block; | 36 display: flex; |
| 37 } |
| 38 |
| 39 .resource-view > * { |
| 40 flex: none; |
42 } | 41 } |
43 | 42 |
44 .resource-view.font { | 43 .resource-view.font { |
45 font-size: 60px; | 44 font-size: 60px; |
46 white-space: pre-wrap; | 45 white-space: pre-wrap; |
47 word-wrap: break-word; | 46 word-wrap: break-word; |
48 text-align: center; | 47 text-align: center; |
49 padding: 15px; | 48 padding: 15px; |
50 } | 49 } |
51 | 50 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 white-space: pre; | 107 white-space: pre; |
109 content: "\A"; | 108 content: "\A"; |
110 } | 109 } |
111 | 110 |
112 .script-view-fallback { | 111 .script-view-fallback { |
113 word-wrap: break-word; | 112 word-wrap: break-word; |
114 white-space: pre-wrap; | 113 white-space: pre-wrap; |
115 -webkit-user-select: text; | 114 -webkit-user-select: text; |
116 background-color: inherit; | 115 background-color: inherit; |
117 } | 116 } |
OLD | NEW |