This repository was archived by the owner on Mar 19, 2021. It is now read-only.
File tree 2 files changed +34
-0
lines changed
2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < meta charset ="UTF-8 ">
3
+ < title > CSS Reference</ title >
4
+ < link rel ="author " title ="Xidorn Quan " href ="https://www.upsuper.org ">
5
+ < link rel ="author " title ="Mozilla " href ="https://www.mozilla.org ">
6
+ < style >
7
+ textarea {
8
+ overflow : hidden;
9
+ white-space : pre;
10
+ }
11
+ </ style >
12
+ < textarea cols ="10 " rows ="10 "> </ textarea >
13
+ < script >
14
+ let textarea = document . querySelector ( "textarea" ) ;
15
+ textarea . value = ( 'X' . repeat ( 100 ) + '\n' ) . repeat ( 100 ) ;
16
+ </ script >
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < meta charset ="UTF-8 ">
3
+ < title > CSS Test: scrollbar-width should apply on <textarea></ title >
4
+ < link rel ="author " title ="Xidorn Quan " href ="https://www.upsuper.org ">
5
+ < link rel ="author " title ="Mozilla " href ="https://www.mozilla.org ">
6
+ < link rel ="help " href ="https://drafts.csswg.org/css-scrollbars-1/#scrollbar-width ">
7
+ < link rel ="match " href ="textarea-scrollbar-width-none-ref.html ">
8
+ < style >
9
+ textarea {
10
+ scrollbar-width : none;
11
+ white-space : pre;
12
+ }
13
+ </ style >
14
+ < textarea cols ="10 " rows ="10 "> </ textarea >
15
+ < script >
16
+ let textarea = document . querySelector ( "textarea" ) ;
17
+ textarea . value = ( 'X' . repeat ( 100 ) + '\n' ) . repeat ( 100 ) ;
18
+ </ script >
You can’t perform that action at this time.
0 commit comments