Skip to main content
Participant
April 30, 2024
Answered

Wrongfully "Expected RPAREN at line..." Error in my main.css file

  • April 30, 2024
  • 3 replies
  • 2292 views

Hallo,

 

bedauerlicherweise bekomme ich in meinem Dreamweaver CSS File häufig den Error "Expected RPAREN at line..."

Das CSS ist korrekt und validiert, es gibt also keinen Fehler.

 

Hier ein Ausschnitt:
::placeholder{
color:inherit
}
:where([hidden]){
display:none
}
:where([contenteditable]:not([contenteditable=false])){
-webkit-user-select:auto;
-moz-user-select:auto;
user-select:auto;
word-wrap:break-word;
-moz-user-modify:read-write;
-webkit-user-modify:read-write
}

Error: 
Expected RPAREN at line 4, col 8.
Expected RPAREN at line 7, col 8.

Würde mich über Hilfe Freuen.
VG Ben

This topic has been closed for replies.
Correct answer BenPleysier

Try removing the deprecated properties in:

 

:where([contenteditable]:not([contenteditable=false])){
-webkit-user-select:auto;
-moz-user-select:auto;
user-select:auto;
word-wrap:break-word;
-moz-user-modify:read-write;
-webkit-user-modify:read-write
}

 

3 replies

BenPleysier
Community Expert
BenPleysierCommunity ExpertCorrect answer
Community Expert
May 2, 2024

Try removing the deprecated properties in:

 

:where([contenteditable]:not([contenteditable=false])){
-webkit-user-select:auto;
-moz-user-select:auto;
user-select:auto;
word-wrap:break-word;
-moz-user-modify:read-write;
-webkit-user-modify:read-write
}

 

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Nancy OShea
Community Expert
Community Expert
May 1, 2024

Use the online Validation Service below.  It's more reliable for checking modern CSS code.

https://jigsaw.w3.org/css-validator/validator

 

 

Nancy O'Shea— Product User & Community Expert
Community Expert
April 30, 2024

Unfortunately DW is very out of date and is in minimal maintenance mode. If your code is validating online, but not in DW you should ignore DW and consider your code to be valid.