XML 30 R8.htm IDEA: XBRL DOCUMENT
v3.21.1

Condensed Consolidated Statement of Changes in Stockholders' Equity (Parenthetical) $ in Millions | 3 Months Ended
--- | ---
Mar. 31, 2021 USD ($)
Statement Of Stockholders Equity [Abstract] |
Net of tax from purchase of capped calls | $ 9

X
- Definition Deferred tax asset recorded in connection with purchase of capped calls. + References No definition available. + Details
Name: | trip_NetOfTaxFromPurchaseOfCappedCalls
Namespace Prefix: | trip_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_StatementOfStockholdersEquityAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration